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
No edit summary
No edit summary
Line 1: Line 1:
{{Scripting/Needs_Text}}
This function will enable/disable use of classes
<pre>SetUseClasses( bool );</pre>


<pre>SetUseClasses( bool );</pre>
==  Arguments ==
 
* ''bool'' - true or false


== Example ==
== Example ==

Revision as of 20:15, 26 July 2014

This function will enable/disable use of classes

SetUseClasses( bool );

Arguments

  • bool - true or false

Example

function onScriptLoad()
{
SetUseClasses( true );
}


function onScriptLoad()
{
SetUseClasses( false );
}