{"hash":"0x445D7D8EA66E373E","ns":"ENTITY","name":"_ATTACH_ENTITY_TO_COORDS_PHYSICALLY","slug":"_ATTACH_ENTITY_TO_COORDS_PHYSICALLY","official":false,"named":true,"luaName":"AttachEntityToCoordsPhysically","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"entity","type":"Entity"},{"name":"p1","type":"int"},{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"},{"name":"offsetX","type":"float"},{"name":"offsetY","type":"float"},{"name":"offsetZ","type":"float"},{"name":"timer","type":"float"},{"name":"p9","type":"BOOL"},{"name":"p10","type":"int"},{"name":"p11","type":"int"},{"name":"p12","type":"int"},{"name":"p13","type":"int"},{"name":"p14","type":"int"},{"name":"p15","type":"int"}],"summary":"Attach an entity to coordinates physically better name may be perfered?","descriptions":[{"source":"vorp","format":"text","body":"Attach an entity to coordinates physically better name may be perfered? seems to be used with boats `p_skiff02x` ? The last 6 params are always 0 everywhere in the base code. p7 = 500.0 some kind of time? p8 =1"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ENTITY/_ATTACH_ENTITY_TO_COORDS_PHYSICALLY","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/_ATTACH_ENTITY_TO_COORDS_PHYSICALLY.md","snippets":{"lua":"AttachEntityToCoordsPhysically(entity, p1, x, y, z, offsetX, offsetY, offsetZ, timer, p9, p10, p11, p12, p13, p14, p15)","luaInvoke":"Citizen.InvokeNative(0x445D7D8EA66E373E, entity, p1, x, y, z, offsetX, offsetY, offsetZ, timer, p9, p10, p11, p12, p13, p14, p15)","js":"AttachEntityToCoordsPhysically(entity, p1, x, y, z, offsetX, offsetY, offsetZ, timer, p9, p10, p11, p12, p13, p14, p15);","jsInvoke":"Citizen.invokeNative('0x445D7D8EA66E373E', entity, p1, x + 0.0000001, y + 0.0000001, z + 0.0000001, offsetX + 0.0000001, offsetY + 0.0000001, offsetZ + 0.0000001, timer + 0.0000001, p9, p10, p11, p12, p13, p14, p15);","csharp":"Function.Call((Hash)0x445D7D8EA66E373E, entity, p1, x, y, z, offsetX, offsetY, offsetZ, timer, p9, p10, p11, p12, p13, p14, p15);","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.","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."]}}