AR/getPlayerMoney

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

هذه الوظيفة تقوم باحضار مال الاعب

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 [-]
Server
addCommandHandler("mymoney",
  function(playerSource)
    outputChatBox("Your money: "..getPlayerMoney(playerSource), playerSource)
  end
)


See Also