Functions/Player/Shared/canAfford
Function | |
Function name | Player:canAfford(number amount) |
Description: | |
Whether the player can afford the given amount of money | |
Returns: | boolean answer |
Part of Library: | Player |
Realm: | |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Functions/Player/Shared/canAfford]Player:canAfford[/url][/b] |
Function parameters[edit]
- amount (number)
The amount of money
Function return values[edit]
- answer (boolean)
Whether the player can afford it