SetWorldSpecialPropertyEnabled

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

Enables or disables a special world property (cheat).

Syntax

bool setWorldSpecialPropertyEnabled ( string propname, bool enable )

Required Arguments

  • propname: the name of the property to set. Possible values are:
    • hovercars
    • aircars
    • extrabunny
    • extrajump
  • enable: whether or not to enable the property.

Returns

Returns true if successful, false otherwise.

See Also