{"hash":"0xAF2EF28CE3084505","ns":"TASK","name":"_UPDATE_TASK_VEHICLE_SHOOT_AT_COORD","slug":"_UPDATE_TASK_VEHICLE_SHOOT_AT_COORD","official":false,"named":true,"luaName":"UpdateTaskVehicleShootAtCoord","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"p0","type":"Any"},{"name":"p1","type":"Any"},{"name":"p2","type":"Any"},{"name":"p3","type":"Any"}],"summary":"Updates the target coordinate of an ongoing SCRIPT_TASK_VEHICLE_SHOOT_AT_COORD for the given ped This lets you retarget the shooting point in real time without restarting the task Has effect only while the ped’s task status for `SCRIPT_T…","descriptions":[{"source":"vorp","format":"text","body":"Updates the target coordinate of an ongoing SCRIPT_TASK_VEHICLE_SHOOT_AT_COORD for the given ped This lets you retarget the shooting point in real time without restarting the task\nHas effect only while the ped’s task status for `SCRIPT_TASK_VEHICLE_SHOOT_AT_COORD` is `TASK_STATUS_ONGOING` (commonly 1) If the task hasn’t started yet (status 0 or not running), use `TASK_VEHICLE_SHOOT_AT_COORD` first; after it becomes active, call this to update the aim point Compared to `TASK_VEHICLE_SHOOT_AT_COORD`: the latter starts (or re-queues) the task with an initial target; this native *only* updates the active task’s target coordinate."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/_UPDATE_TASK_VEHICLE_SHOOT_AT_COORD","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/_UPDATE_TASK_VEHICLE_SHOOT_AT_COORD.md","snippets":{"lua":"UpdateTaskVehicleShootAtCoord(p0, p1, p2, p3)","luaInvoke":"Citizen.InvokeNative(0xAF2EF28CE3084505, p0, p1, p2, p3)","js":"UpdateTaskVehicleShootAtCoord(p0, p1, p2, p3);","jsInvoke":"Citizen.invokeNative('0xAF2EF28CE3084505', p0, p1, p2, p3);","csharp":"Function.Call((Hash)0xAF2EF28CE3084505, p0, p1, p2, p3);","notes":["The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}