Перейти к содержанию

Player::setMoney

Материал из RAGE MP Wiki Archive

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

<syntaxhighlight lang="javascript">mp.players.local.setMoney(amount);</syntaxhighlight>

Required Arguments

  • amount: int

Return value

  • Undefined

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also