Functions/DarkRP/Server/storeMoney

From Official DarkRP Wiki
Revision as of 14:19, 31 October 2015 by DarkRPBot (talk | contribs) (Wikibot updated DarkRP documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Function
Function name DarkRP.storeMoney(Player ply, number amount)
Description:
Internal function. Store a player's money in the database. Do not call this if you just want to set someone's money, the player will not see the change!
Returns: nil
Part of Library: DarkRP
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Server/storeMoney]DarkRP.storeMoney[/url][/b]

Function parameters

  1. ply (Player)
  2. The player.

  3. amount (number)
  4. The new contents of the player's wallet.


Function return values

This function does not return any value.