Hooks/Server/lotteryStarted

From Official DarkRP Wiki
Jump to: navigation, 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

  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

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