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

SFEX.darkrp.payPlayer

S๐Ÿท๏ธ Darkrp

Part of StarfallEx namespace

๐Ÿ”— External
darkrp.payPlayer(sender, receiver, amount)
View on GitHub|lua/starfall/libs_sh/darkrp2.lua:681
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Make one player give money to the other player. This is subject to a burst limit. Use "darkrp.canGiveMoney" to check if you can give out money that tick. Only works if the sender is the owner of the chip, or if the chip is running in superuser mode.

Parameters

NameTypeDescription
senderPlayerThe player who gives the money.
receiverPlayerThe player who receives the money.
amountnumberThe amount of money.

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.