Scripting/Squirrel/Functions/SetUseClasses: Difference between revisions
Jump to navigation
Jump to search
This wiki is using an old backup from 2020
Some information may be old/missing
Kennedyarz (talk | contribs) |
(Undo revision 19143 by Kennedyarz (talk)) |
||
Line 12: | Line 12: | ||
function onScriptLoad() | function onScriptLoad() | ||
{ | { | ||
SetUseClasses( true ); | |||
} | } | ||
function | |||
</source> | |||
<source lang=squirrel> | |||
function onScriptLoad() | |||
{ | { | ||
SetUseClasses( false ); | |||
} | } | ||
</source> | </source> |
Revision as of 05:12, 12 July 2016
This function will enable/disable use of classes
SetUseClasses( bool );
Arguments
- bool - true or false
Example
function onScriptLoad()
{
SetUseClasses( true );
}
function onScriptLoad()
{
SetUseClasses( false );
}