Part of StarfallEx namespace
๐ External
hook.add("MoneyPrinterPrintMoney", "name", function(moneyprinter, amount) end)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Called when a money printer is about to print money. DarkRP only. Not guaranteed to work for non-vanilla money printers. You should use moneyPrinterPrinted instead, as the printer is not guaranteed to print money even if this hook is called. Only works if the owner of the chip also owns the money printer, or if the chip is running in superuser mode.
Parameters
| Name | Type | Description |
|---|---|---|
moneyprinter | Entity | The money printer |
amount | number | The amount to be printed |
Returns
No return values documented.
Examples
No examples available.
Used In
No usages found in the codebase.