Resource:Gang Manager/getPlayerGang: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(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> ...")
 
Line 7: Line 7:


==Required Arguments==
==Required Arguments==
*'''Gang:''' ID of the gang you wish to delete
*'''Player:''' Player element whose gang ID you want to get
</section>
</section>
<section name="Client" class="client" show="true">
<section name="Client" class="client" show="true">

Revision as of 22:20, 23 June 2014

Deletes gang from the 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.