Resource:Gang Manager/isPlayerLeader: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{Server client function}} Gets if player is leader of his current gang. ==Syntax== <section name="Server" class="server" show="true"> <syntaxhighlight lang="lua">isPlayerLeader ( player Pl...")
 
No edit summary
Line 1: Line 1:
{{Server client function}}
{{Server client function}}
Gets if player is leader of his current gang.
Checks if player is leader of his current gang.


==Syntax==
==Syntax==

Revision as of 22:29, 23 June 2014

Checks if player is leader of his current gang.

Syntax

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

Required Arguments

  • Player: Player element who you want to check if he is the leader of his current gang
Click to collapse [-]
Client
isPlayerLeader ( player Player )

Required Arguments

  • Player: Player element who you want to check if he is the leader of his current gang

Returns

Returns true if player is the leader of his current gang or false otherwise.