Player::specialAbilityChargeNormalized: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
<br>normalizedValue is from 0.0 - 1.0<br>p2 is always 1
<br>normalizedValue is from 0.0 - 1.0<br>p2 is always 1
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">player.specialAbilityChargeNormalized(normalizedValuep2);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.player.specialAbilityChargeNormalized(normalizedValuep2);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''normalizedValue:''' float
*'''normalizedValue:''' float
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


normalizedValue is from 0.0 - 1.0
p2 is always 1

Syntax

mp.game.player.specialAbilityChargeNormalized(normalizedValuep2);

Required Arguments

  • normalizedValue: float
  • p2: Boolean

Return value

  • Undefined

Example

// todo

See also