Skip to content

setBirdColors

Client-side

Available in Neon, not standard MTA

Recolors a managed bird's body and wings.

Syntax

bool setBirdColors(bird theBird, int bodyColor, int wingColor)

Arguments

theBirdbird

Managed bird element.

bodyColorint

Body color.

wingColorint

Wing color.

Returns

true when applied; false for an invalid element or value.

Ownership and lifecycle

A bird belongs to the client resource that created it and is removed when that resource stops. Birds fade near their render distance instead of being destroyed, and a dimension or interior mismatch hides them while keeping the element alive.

OOP aliases

  • bird:setColors(bodyColor, wingColor)

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →