Hook name playerPickedUpCheque(Player player, Player player, number amount, bool success, Entity entity)
Called when a player picks up a cheque.
Returns: nil
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/playerPickedUpCheque]playerPickedUpCheque hook[/url][/b]


  1. player (Player)
  2. The player who attempted to pick up the cheque.

  3. player (Player)
  4. The player who the cheque was written to.

  5. amount (number)
  6. The amount of money the cheque has.

  7. success (bool)
  8. Whether the player was allowed to cash the cheque.

  9. entity (Entity)
  10. The entity of the cheque.

Return valuesEdit

This hook does not accept return values. You can still return a value to override the default implementation of this hook.