SetBirdsEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{Needs Example}}__NOTOC__{{Client function}} This function allows you to disable the flying birds. ==Syntax== <syntaxhighlight lang="lua"> bool setBirdsEnabled ( bool enable ) </syntaxhighlight> ===Req...")
 
mNo edit summary
Line 22: Line 22:


==See Also==
==See Also==
{{World functions}}
{{Client_world_functions}}

Revision as of 22:04, 26 January 2012

Accessories-text-editor.png Script Example Missing Function SetBirdsEnabled needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.

This function allows you to disable the flying birds.

Syntax

bool setBirdsEnabled ( bool enable )

Required Arguments

  • enabled: A boolean value determining if birds should be shown. Use true to show the birds and false to hide them.

Returns

Returns true if the birds state was changed succesfully, false if an invalid argument was specified.

Example

-- todo

Requirements

This template will be deleted.

See Also