{"hash":"0x61E360B7E040D12E","ns":"TASK","name":"TASK_GO_STRAIGHT_TO_COORD_RELATIVE_TO_ENTITY","slug":"TASK_GO_STRAIGHT_TO_COORD_RELATIVE_TO_ENTITY","official":true,"named":true,"luaName":"TaskGoStraightToCoordRelativeToEntity","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"entity","type":"Entity"},{"name":"xOffset","type":"float"},{"name":"yOffset","type":"float"},{"name":"zOffset","type":"float"},{"name":"moveBlendRatio","type":"int"},{"name":"timeBeforeTeleport","type":"int"},{"name":"p7","type":"int"}],"summary":"Go to coords relative to entity wihtout using navmesh, if timeBeforeTeleport is -1 then it never teleports; p7 is 1 or 0 still unknown.","descriptions":[{"source":"alloc8or","format":"text","body":"Go to coords relative to entity wihtout using navmesh, if timeBeforeTeleport is -1 then it never teleports; p7 is 1 or 0 still unknown."},{"source":"vorp","format":"text","body":"Tells the ped to go to an offset coord from an entity, without using the navmesh. if timeBeforeTeleport is -1 the ped will never warp, p7 is 1 or 0 still unknown param"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x61E360B7E040D12E","gtaJhash":"0xD26CAC68","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/TASK_GO_STRAIGHT_TO_COORD_RELATIVE_TO_ENTITY","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/TASK_GO_STRAIGHT_TO_COORD_RELATIVE_TO_ENTITY.md","snippets":{"lua":"TaskGoStraightToCoordRelativeToEntity(ped, entity, xOffset, yOffset, zOffset, moveBlendRatio, timeBeforeTeleport, p7)","luaInvoke":"Citizen.InvokeNative(0x61E360B7E040D12E, ped, entity, xOffset, yOffset, zOffset, moveBlendRatio, timeBeforeTeleport, p7)","js":"TaskGoStraightToCoordRelativeToEntity(ped, entity, xOffset, yOffset, zOffset, moveBlendRatio, timeBeforeTeleport, p7);","jsInvoke":"Citizen.invokeNative('0x61E360B7E040D12E', ped, entity, xOffset + 0.0000001, yOffset + 0.0000001, zOffset + 0.0000001, moveBlendRatio, timeBeforeTeleport, p7);","csharp":"Function.Call((Hash)0x61E360B7E040D12E, ped, entity, xOffset, yOffset, zOffset, moveBlendRatio, timeBeforeTeleport, p7);","notes":["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."]}}