Hooks/Server/lotteryStarted
Jump to navigation
Jump to search
Hook | |
Hook name | lotteryStarted(Player ply, number price) |
Description: | |
When a lottery has started. | |
Returns: | nil |
Realm: |
![]() |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/lotteryStarted]lotteryStarted hook[/url][/b] |
Parameters[edit]
- ply (Player)
- price (number)
The player who started the lottery.
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.