Resource:Gang Manager/getPlayerLevel

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

Gets player level from database.

Syntax

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

Required Arguments

  • Player: Player element whose gang level you want to get
Click to collapse [-]
Client
getPlayerLevel ( player Player )

Required Arguments

  • Player: Player element whose gang level you want to get

Returns

Returns level of the player's in his current gang or returns false otherwise.