IsWorldSpecialPropertyEnabled

From Multi Theft Auto: Wiki
Revision as of 23:40, 13 February 2009 by Arc (talk | contribs) (New page: __NOTOC__ {{Client function}} Checks if a special world property (cheat) is enabled or not. ==Syntax== <syntaxhighlight lang="lua">bool isWorldSpecialPropertyEnabled ( string propname )</syntaxhighlight> ===Requir...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Checks if a special world property (cheat) is enabled or not.

Syntax

bool isWorldSpecialPropertyEnabled ( string propname )

Required Arguments

  • propname: the name of the property to retrieve. Possible values are:
    • hovercars
    • aircars
    • extrabunny
    • extrajump

Returns

Returns true if the property is enabled, false if it is disabled or the specified property name is invalid.

See Also