Functions/Player/Server/addMoney

From Official DarkRP Wiki
Jump to: navigation, search
Function
Function name Player:addMoney(number amount)
Description:
Give money to a player.
Returns: nil
Part of Library: Player
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/Player/Server/addMoney]Player:addMoney[/url][/b]

Function parameters

  1. amount (number)
  2. The amount of money to give to the player. A negative amount means you're substracting money.


Function return values

This function does not return any value.