Resource:Gang Manager/isPlayerLeader

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

Checks if player is leader of his current gang.

Syntax

Click to collapse [-]
Server
bool 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
bool isPlayerLeader ( player Player )

Required Arguments

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

Returns

  • IsLeader: Boolean that is true if player is leader of his current gang and false otherwise