Resource:Gang Manager/setPlayerGang
From Multi Theft Auto: Wiki
Sets player's gang if the player is not currently in a gang.
Syntax
Click to collapse [-]
Serverbool setPlayerGang ( player Player, string Gang )
Required Arguments
- Player: Player element whose gang you want to set
- Gang: ID of the gang that you want to set as the player's gang
Click to collapse [-]
Clientbool setPlayerGang ( player Player, string Gang )
Required Arguments
- Player: Player element whose gang you want to set
- Gang: ID of the gang that you want to set as the player's gang
Returns
- Success: Boolean that is true if the player's gang has been set or false if the player already is in the gang