Resource:Gang Manager/leaveGang: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
 (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...")  | 
				No edit summary  | 
				||
| Line 1: | Line 1: | ||
{{Server client function}}  | {{Server client function}}  | ||
Removes player from his gang.  | Removes player from his current gang.  | ||
==Syntax==  | ==Syntax==  | ||
<section name="Server" class="server" show="true">  | <section name="Server" class="server" show="true">  | ||
<syntaxhighlight lang="lua">leaveGang ( player Player )</syntaxhighlight>  | <syntaxhighlight lang="lua">bool leaveGang ( player Player )</syntaxhighlight>  | ||
==Required Arguments==  | ==Required Arguments==  | ||
| Line 10: | Line 10: | ||
</section>  | </section>  | ||
<section name="Client" class="client" show="true">  | <section name="Client" class="client" show="true">  | ||
<syntaxhighlight lang="lua">leaveGang ( player Player )</syntaxhighlight>  | <syntaxhighlight lang="lua">bool leaveGang ( player Player )</syntaxhighlight>  | ||
==Required Arguments==  | ==Required Arguments==  | ||
| Line 17: | Line 17: | ||
==Returns==  | ==Returns==  | ||
*'''Success:''' Boolean that is true if player left his gang or false if player is the current leader of his gang  | |||
Latest revision as of 23:26, 23 June 2014
Removes player from his current gang.
Syntax
Click to collapse [-]
Serverbool leaveGang ( player Player )
Required Arguments
- Player: Player who you want to leave his current gang that he is in
 
Click to collapse [-]
Clientbool leaveGang ( player Player )
Required Arguments
- Player: Player who you want to leave his current gang that he is in
 
Returns
- Success: Boolean that is true if player left his gang or false if player is the current leader of his gang