Resource:Gang Manager/setPlayerGang
Jump to navigation
Jump to search
Sets player's gang if the player is not currently in a gang.
Syntax
Click to collapse [-]
ServersetPlayerGang ( 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 [-]
ClientsetPlayerGang ( 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
Returns true if player's gang was successfully get or returns false otherwise.