{"hash":"0x55CD5FDDD4335C1E","ns":"TASK","name":"_TASK_VEHICLE_FLEE_ON_CLEANUP","slug":"_TASK_VEHICLE_FLEE_ON_CLEANUP","official":false,"named":true,"luaName":"TaskVehicleFleeOnCleanup","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"vehicle","type":"Vehicle"},{"name":"p1","type":"float"},{"name":"p2","type":"float"},{"name":"p3","type":"float"},{"name":"speed","type":"float"},{"name":"type","type":"Hash"}],"summary":"Vehicle Auto Drive (?) p1/p2/p3: usually 1f, 1f, 0f or 0f, 0f, 0f","descriptions":[{"source":"alloc8or","format":"text","body":"Vehicle Auto Drive (?)\np1/p2/p3: usually 1f, 1f, 0f or 0f, 0f, 0f\nSpeed: usually 8f\nTypes: 1148979456 (task with flee), 1148979587 (dismissing the vehicle)"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/_TASK_VEHICLE_FLEE_ON_CLEANUP","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/_TASK_VEHICLE_FLEE_ON_CLEANUP.md","snippets":{"lua":"TaskVehicleFleeOnCleanup(vehicle, p1, p2, p3, speed, type)","luaInvoke":"Citizen.InvokeNative(0x55CD5FDDD4335C1E, vehicle, p1, p2, p3, speed, type)","js":"TaskVehicleFleeOnCleanup(vehicle, p1, p2, p3, speed, type);","jsInvoke":"Citizen.invokeNative('0x55CD5FDDD4335C1E', vehicle, p1 + 0.0000001, p2 + 0.0000001, p3 + 0.0000001, speed + 0.0000001, type);","csharp":"Function.Call((Hash)0x55CD5FDDD4335C1E, vehicle, p1, p2, p3, speed, type);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.","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."]}}