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

Player::taskReloadWeapon

Материал из RAGE MP Wiki Archive
Версия от 23:40, 6 мая 2017; imported>Marty uploader (yay)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

The 2nd param (unused) is not implemented.

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

The only occurrence I found in a R* script ('assassin_construction.ysc.c4'):

if (((v_3 < v_4) && (Player::GET_SCRIPT_TASK_STATUS(PLAYER::PLAYER_Player_ID(), 0x6a67a5cc) != 1)) && (v_5 > v_3)) {
Player::TASK_RELOAD_WEAPON(PLAYER::PLAYER_Player_ID(), 1);
}

Syntax

<syntaxhighlight lang="javascript">player.taskReloadWeapon(doReload);</syntaxhighlight>

Required Arguments

  • doReload: Boolean

Return value

  • Undefined

Example

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

See also