From Official DarkRP Wiki
Jump to navigation Jump to search
Function name DarkRP.payPlayer(Player sender, Player receiver, number amount)
Make one player give money to the other player.
Returns: nil
Part of Library: DarkRP
Realm: NewerServer.png
BBCode Link: [b][url=]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.