DisableScript

From Soldat Community Wiki
Jump to: navigation, search

From the Scripting Manual

 Data Type: Boolean
 
 Description:
 By default, this variable is false.
 If you set this variable to true (by doing "DisableScript := true;"), then
 your script will no longer receive event calls from the server.
 
 Eg, AppOnIdle, OnPlayerSpeak etc.
 
 NOTE: Any threads you have running in your script will continue to function
       so setting this variable back to false will re-enable your script.

External Links