Resource:Gang Manager/setPlayerGang: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Server client function}} Sets player's gang if the player is not currently in a gang. ==Syntax== <section name="Server" class="server" show="true"> <syntaxhighlight lang="lua">setPlayerGa...") |
(No difference)
|
Revision as of 22:36, 23 June 2014
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.