Resource:Gang Manager/setPlayerLevel
From Multi Theft Auto: Wiki
Sets player's level if the player is currently in a gang.
Syntax
Click to collapse [-]
Serverbool setPlayerLevel ( player Player, integer Level )
Required Arguments
- Player: Player whose level you want to change
- Level: Integer of the level you want to set as player's level from 1 to 5
Click to collapse [-]
Clientbool setPlayerLevel ( player Player, integer Level )
Required Arguments
- Player: Player whose level you want to change
- Level: Integer of the level you want to set as player's level from 1 to 5
Returns
- Success: Boolean that is true if the level was changed successfully or false otherwise