Functions/DarkRP/Server/payPlayer

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

Function parameters

  1. sender (Player)
  2. The player who gives the money.

  3. receiver (Player)
  4. The player who receives the money.

  5. amount (number)
  6. The amount of money.


Function return values

This function does not return any value.