Resource:Gang Manager/setPlayerLevel

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

Sets player's level if the player is currently in a gang.

Syntax

Click to collapse [-]
Server
bool 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 [-]
Client
bool 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