|Hook name||lotteryEnded(table participants, Player chosen, number amount)|
|When a lottery has ended.|
|BBCode Link:||[b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/lotteryEnded]lotteryEnded hook[/url][/b]|
- participants (table)
- chosen (Player)
- amount (number)
The participants of the lottery. An empty table when no one entered the lottery.
The winner of the lottery.
The amount won by the winner.
This hook does not accept return values. You can still return a value to override the default implementation of this hook.