Stats::statClearSlotForReload: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
Please change to 'void'!<br>---------------------------------<br><br>Example:<br><br>for (v_2 = 0; v_2 &lt;= 4; v_2 += 1) {<br>    STATS::STAT_CLEAR_SLOT_FOR_RELOAD(v_2);<br>}
Please change to 'void'!<br>---------------------------------<br><br>Example:<br><br>for (v_2 = 0; v_2 &lt;= 4; v_2 += 1) {<br>    STATS::STAT_CLEAR_SLOT_FOR_RELOAD(v_2);<br>}
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">stats.statClearSlotForReload(statSlot);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.stats.statClearSlotForReload(statSlot);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''statSlot:''' int
*'''statSlot:''' int
Line 8: Line 8:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Stats_function_c}}
{{Stats_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:32, 6 May 2017

Please change to 'void'!
---------------------------------

Example:

for (v_2 = 0; v_2 <= 4; v_2 += 1) {
STATS::STAT_CLEAR_SLOT_FOR_RELOAD(v_2);
}

Syntax

mp.game.stats.statClearSlotForReload(statSlot);

Required Arguments

  • statSlot: int

Return value

  • unknown (to be checked)

Example

// todo

See also