Hooks/Server/lotteryStarted

From DarkRP
Jump to navigation Jump to search
Hook
Hook name lotteryStarted(Player ply, number price)
Description:
When a lottery has started.
Returns: nil
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/lotteryStarted]lotteryStarted hook[/url][/b]

Parameters[edit]

  1. ply (Player)
  2. The player who started the lottery.

  3. price (number)
  4. The amount of money people have to pay to enter.

Return values[edit]

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