taskAimGunScripted
TASK_AIM_GUN_SCRIPTED0x7A192BE16D373D00The GTA V native TASK_AIM_GUN_SCRIPTED of the TASK namespace, as LS:MP client scripts call it: the global function taskAimGunScripted, in JavaScript and in Lua.
taskAimGunScripted(
ped: Ped,
scriptTask: Hash,
disableBlockingClip: boolean,
instantBlendToAim: boolean
): voidtaskAimGunScripted(
ped: Ped,
scriptTask: Hash,
disableBlockingClip: boolean,
instantBlendToAim: boolean
)Usage
JavaScript
taskAimGunScripted(ped, scriptTask, disableBlockingClip, instantBlendToAim);Lua
taskAimGunScripted(ped, scriptTask, disableBlockingClip, instantBlendToAim)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
scriptTask | Hash | number | integer |
disableBlockingClip | BOOL | boolean | boolean |
instantBlendToAim | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Tasks TASK
- In the game
void TASK_AIM_GUN_SCRIPTED(Ped ped, Hash scriptTask, BOOL disableBlockingClip, BOOL instantBlendToAim)- Hash
0x7A192BE16D373D00