Player::specialAbilityChargeSmall: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Every occurrence of p1 & p2 were both true.
{{JSContainer|
==Syntax==
 
<syntaxhighlight lang="javascript">player.specialAbilityChargeSmall(p1p2);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''p1:''' Boolean
*'''player:''' Handle
*'''p2:''' Boolean
*'''increment:''' Boolean
*'''ignoreActive:''' Boolean
*'''abilitySlot?:''' Number (optional, default 0)
===Return value===
===Return value===
*'''Undefined'''
*'''void'''
 
==Syntax==
<syntaxhighlight lang="javascript">
mp.game.player.specialAbilityChargeSmall(player, increment, gnoreActive, abilitySlot?);
</syntaxhighlight>
 
==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 09:13, 16 March 2024

JavaScript Syntax


Required Arguments

  • player: Handle
  • increment: Boolean
  • ignoreActive: Boolean
  • abilitySlot?: Number (optional, default 0)

Return value

  • void

Syntax

mp.game.player.specialAbilityChargeSmall(player, increment, gnoreActive, abilitySlot?);

Example

// todo


See also