Resource:Gang Manager/setPlayerLevel

From Multi Theft Auto: Wiki
Revision as of 23:33, 23 June 2014 by ADCX (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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