Player::setMoney

From RAGE Multiplayer Wiki

Maximum possible amount of money on MP is 2000. ~JX

-----------------------------------------------------------------------------

Maximum amount that a ped can theoretically have is 65535 (0xFFFF) since the amount is stored as an unsigned short (uint16_t) value.

Syntax

mp.players.local.setMoney(amount);

Required Arguments

  • amount: int

Return value

  • Undefined

Example

// todo

See also