Skip to content

setBirdShootable

Client-side

Available in Neon, not standard MTA

Makes a managed bird shootable, or purely decorative.

Syntax

bool setBirdShootable(bird theBird, bool enabled)

Arguments

theBirdbird

Managed bird element.

enabledbool

Whether the bird can be shot.

Returns

true when applied; false for an invalid element.

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.

Important behavior
  • A shootable bird raises the cancellable onClientBirdShot event when hit.

OOP aliases

  • bird:setShootable(enabled)
  • bird.shootable

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →