Player::updateTaskAimGunScriptedTarget: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
 
Line 1: Line 1:
{{ClientsideJsFunction}}
{{JSContainer|
===Required Params===
*'''target:''' {{RageType|number}}
*'''x:''' {{RageType|Float}}
*'''y:''' {{RageType|Float}}
*'''z:''' {{RageType|Float}}
*'''disableBlockingClip:''' {{RageType|boolean}}
===Return value===
*''' {{RageType|void}} '''


==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">player.updateTaskAimGunScriptedTarget(p1, p2, p3, p4, p5);</syntaxhighlight>
<syntaxhighlight lang="javascript">
=== Required Arguments ===
player.updateTaskAimGunScriptedTarget(target, x, y, z, disableBlockingClip);
*'''p1:''' Ped handle or object
</syntaxhighlight>
*'''p2:''' float
 
*'''p3:''' float
*'''p4:''' float
*'''p5:''' Boolean
===Return value===
*'''Undefined'''
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
// todo
//todo
</syntaxhighlight>
</syntaxhighlight>
}}
==See also==
==See also==
{{Player_function_c}}
{{Player_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 12:35, 13 August 2024

Client-Side
Function

 JavaScript



JavaScript Syntax


Required Params

  • target: number
  • x: Float
  • y: Float
  • z: Float
  • disableBlockingClip: boolean

Return value

  • void

Syntax

player.updateTaskAimGunScriptedTarget(target, x, y, z, disableBlockingClip);

Example

//todo


See also