Resource:Gang Manager/getPlayerGang: Difference between revisions
Jump to navigation
Jump to search
(→Syntax) |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Server client function}} | {{Server client function}} | ||
Gets player's level from database. | |||
==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