AR/getPlayerMoney: Difference between revisions
Jump to navigation
Jump to search
(Created page with "__NOTOC__ {{Server client function}} هذه الوظيفة تقوم باحضار مال الاعب ==Syntax== <syntaxhighlight lang="lua"> string getPlayerMoney ( player thePlayer ) </syntaxhighlight> =...") |
(No difference)
|
Revision as of 20:29, 17 October 2012
هذه الوظيفة تقوم باحضار مال الاعب
Syntax
string getPlayerMoney ( player thePlayer )
Required Arguments
- thePlayer: الاعب الذي تريد احضار اسمه
Returns
Returns a string containing the requested player's name, or false if the player passed to the function is invalid.
Example
Click to collapse [-]
ServeraddCommandHandler("mymoney", function(playerSource) outputChatBox("Your money: "..getPlayerMoney(playerSource), playerSource) end )