Player::setMoney

From RAGE Multiplayer Wiki
Revision as of 02:56, 13 June 2018 by MrPancakers (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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