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

SFEX.hook.PlayerWalletChanged

S๐Ÿท๏ธ Hooks

Part of StarfallEx namespace

๐Ÿ”— External
hook.add("PlayerWalletChanged", "name", function(ply, amount, wallet) end)
View on GitHub|lua/starfall/libs_sh/darkrp2.lua:468
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Called when a player receives money. DarkRP only. Will only be called if the recipient is the owner of the chip, or if the chip is running in superuser mode.

Parameters

NameTypeDescription
plyPlayerThe player who is getting money.
amountnumberThe amount of money given to the player.
walletnumberHow much money the player had before receiving the money.

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.