Scripting/Squirrel/Functions/SetUseClasses: Difference between revisions

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing
(Undo revision 19143 by Kennedyarz (talk))
No edit summary
 
Line 28: Line 28:


</source>
</source>
== Related Functions ==
{{Scripting/Squirrel/Functions/Spawn_and_Wasted_Screen_Functions}}
[[Category:Scripting/Squirrel/Functions/Spawn_and_Wasted_Screen_Functions]]

Latest revision as of 21:59, 30 January 2017

This function will enable/disable use of classes

SetUseClasses( bool );

Arguments

  • bool - true or false

Example

function onScriptLoad()
{
SetUseClasses( true );
}


function onScriptLoad()
{
SetUseClasses( false );
}

Related Functions