Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.hook.MoneyPrinterPrintMoney

S๐Ÿท๏ธ Hooks

Part of StarfallEx namespace

๐Ÿ”— External
hook.add("MoneyPrinterPrintMoney", "name", function(moneyprinter, amount) end)
View on GitHub|lua/starfall/libs_sh/darkrp2.lua:449
๐Ÿ“‹ 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

NameTypeDescription
moneyprinterEntityThe money printer
amountnumberThe amount to be printed

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.