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

SFEX.darkrp.canAfford

S๐Ÿท๏ธ Darkrp

Part of StarfallEx namespace

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

Description

Get whether the player can afford the given amount of money. DarkRP only.

Parameters

NameTypeDescription
plyPlayerThe player
amountnumberThe amount of money

Returns

TypeDescription
booleanWhether the player can afford it

Examples

No examples available.

Used In

No usages found in the codebase.