Hooks/Server/moneyPrinterCatchFire

From DarkRP
Jump to navigation Jump to search
Hook
Hook name moneyPrinterCatchFire(Entity moneyprinter)
Description:
Called when a money printer is about to catch fire.
Returns: boolean prevent
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/moneyPrinterCatchFire]moneyPrinterCatchFire hook[/url][/b]

Parameters[edit]

  1. moneyprinter (Entity)
  2. The money printer that is about to catch fire

Return values[edit]

  1. prevent (boolean)
  2. Set to true to prevent the money printer from catching fire