SetBirdsEnabled

From Multi Theft Auto: Wiki
Revision as of 22:04, 26 January 2012 by Winky- (talk | contribs)
Jump to navigation Jump to search
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

Minimum server version 1.3
Minimum client version 1.3

Note: Using this feature requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version server="1.3" client="1.3" />

See Also