Player::specialAbilityChargeAbsolute: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
p1 appears as 5, 10, 15, 25, or 30. p2 is always true.
p1 appears as 5, 10, 15, 25, or 30. p2 is always true.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">player.specialAbilityChargeAbsolute(p1p2);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.player.specialAbilityChargeAbsolute(p1p2);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''p1:''' int
*'''p1:''' int
Line 9: Line 9:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Player_function_c}}
{{Player_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:30, 6 May 2017

p1 appears as 5, 10, 15, 25, or 30. p2 is always true.

Syntax

mp.game.player.specialAbilityChargeAbsolute(p1p2);

Required Arguments

  • p1: int
  • p2: Boolean

Return value

  • Undefined

Example

// todo

See also