Resource:Gang Manager/getPlayerGang: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
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">getPlayerGang ( player Player )</syntaxhighlight> | <syntaxhighlight lang="lua">string getPlayerGang ( 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">getPlayerGang ( player Player )</syntaxhighlight> | <syntaxhighlight lang="lua">string getPlayerGang ( player Player )</syntaxhighlight> | ||
==Required Arguments== | ==Required Arguments== | ||
Line 17: | Line 17: | ||
==Returns== | ==Returns== | ||
*'''Gang:''' ID of the gang the player is currently in |
Latest revision as of 23:24, 23 June 2014
Gets player's level from database.
Syntax
Click to collapse [-]
Serverstring getPlayerGang ( player Player )
Required Arguments
- Player: Player element whose gang ID you want to get
Click to collapse [-]
Clientstring getPlayerGang ( player Player )
Required Arguments
- Player: Player element whose gang ID you want to get
Returns
- Gang: ID of the gang the player is currently in