Resource:Gang Manager/getPlayerLevel: Difference between revisions
Jump to navigation
Jump to search
(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>...") |
No edit summary |
||
Line 4: | Line 4: | ||
==Syntax== | ==Syntax== | ||
<section name="Server" class="server" show="true"> | <section name="Server" class="server" show="true"> | ||
<syntaxhighlight lang="lua">getPlayerLevel ( player Player )</syntaxhighlight> | <syntaxhighlight lang="lua">int getPlayerLevel ( 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">getPlayerLevel ( player Player )</syntaxhighlight> | <syntaxhighlight lang="lua">int getPlayerLevel ( player Player )</syntaxhighlight> | ||
==Required Arguments== | ==Required Arguments== | ||
Line 17: | Line 17: | ||
==Returns== | ==Returns== | ||
*'''Level:''' Level of the player in the gang he is currently in |
Latest revision as of 23:24, 23 June 2014
Gets player level from database.
Syntax
Click to collapse [-]
Serverint getPlayerLevel ( player Player )
Required Arguments
- Player: Player element whose gang level you want to get
Click to collapse [-]
Clientint getPlayerLevel ( player Player )
Required Arguments
- Player: Player element whose gang level you want to get
Returns
- Level: Level of the player in the gang he is currently in