Resource:Gang Manager/leaveGang

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

Removes player from his gang.

Syntax

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

Required Arguments

  • Player: Player who you want to leave his current gang that he is in
Click to collapse [-]
Client
leaveGang ( player Player )

Required Arguments

  • Player: Player who you want to leave his current gang that he is in

Returns

Returns true if player was removed from the gang successfully or false otherwise.