getBirdsEnabled | Multi Theft Auto: Wiki Skip to content

getBirdsEnabled

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This function will tell you if the birds are enabled or disabled.

Syntax

getBirdsEnabled ( )

Code Examples

client
function areBirdsEnabled()
outputChatBox("The birds are currently ".. (getBirdsEnabled() and "Enabled" or "Disabled") ..".") -- Output the birds state.
end
addCommandHandler("birds", areBirdsEnabled) -- Add the command handler attached to the function "areBirdsEnabled".

See Also

World Functions