Resource:Gang Manager/getPlayerGang: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{Server client function}}
{{Server client function}}
Deletes gang from the database.
Gets player's level from database.


==Syntax==
==Syntax==

Revision as of 22:21, 23 June 2014

Gets player's level from database.

Syntax

Click to collapse [-]
Server
getPlayerGang ( player Player )

Required Arguments

  • Player: Player element whose gang ID you want to get
Click to collapse [-]
Client
getPlayerGang ( player Player )

Required Arguments

  • Player: Player element whose gang ID you want to get

Returns

Returns gang ID of the player's gang or returns false otherwise.