Resource:Gang Manager/getPlayerGang

From Multi Theft Auto: Wiki
Revision as of 22:19, 23 June 2014 by ADCX (talk | contribs) (Created page with "{{Server client function}} Deletes gang from the database. ==Syntax== <section name="Server" class="server" show="true"> <syntaxhighlight lang="lua">getPlayerGang ( player Player )</syntaxhighlight> ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Deletes gang from the database.

Syntax

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

Required Arguments

  • Gang: ID of the gang you wish to delete
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.