IsWorldSpecialPropertyEnabled

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

ADDED/UPDATED IN VERSION 1.6.0 r22195:
Added also as a server-side function. Previously only available as a client-side function.

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

Syntax

bool isWorldSpecialPropertyEnabled ( string propname )

OOP Syntax Help! I don't understand this!

Counterpart: setWorldSpecialPropertyEnabled


Required Arguments

Returns

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

Example

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

Before submitting check out Editing Guidelines Script Examples.


See Also