{"hash":"0xC7F0B43DCDC57E3D","ns":"TASK","name":"TASK_PLACE_CARRIED_ENTITY_AT_COORD","slug":"TASK_PLACE_CARRIED_ENTITY_AT_COORD","official":true,"named":true,"luaName":"TaskPlaceCarriedEntityAtCoord","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"entity","type":"Entity"},{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"},{"name":"p5","type":"float"},{"name":"flags","type":"int"}],"summary":"","descriptions":[{"source":"femga","format":"pre","body":"0xD806CD2A4F2C2996\n0xC7F0B43DCDC57E3D\nNot sure if somebody found this, but it just get's the carried entity. Also I did some research on the placing of the entity."},{"source":"femga","format":"pre","body":"// 0xC7F0B43DCDC57E3D\nTASK_PLACE_CARRIED_ENTITY_AT_COORD(Ped ped, Entity carried, float x, float y, float z, float ukn, int flag)\n/*\n    flag: Determines the way the entity is placed.\n*/\nCode I used\nlocal carried = Citizen.InvokeNative(0xD806CD2A4F2C2996, PlayerPedId())\nCitizen.InvokeNative(0xC7F0B43DCDC57E3D, PlayerPedId(), carried, GetEntityCoords(PlayerPedId()), 10.0, flag)"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","femga"],"doc":1,"url":"https://natives.borderlinerp.com/natives/TASK/TASK_PLACE_CARRIED_ENTITY_AT_COORD","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/TASK_PLACE_CARRIED_ENTITY_AT_COORD.md","snippets":{"lua":"TaskPlaceCarriedEntityAtCoord(ped, entity, x, y, z, p5, flags)","luaInvoke":"Citizen.InvokeNative(0xC7F0B43DCDC57E3D, ped, entity, x, y, z, p5, flags)","js":"TaskPlaceCarriedEntityAtCoord(ped, entity, x, y, z, p5, flags);","jsInvoke":"Citizen.invokeNative('0xC7F0B43DCDC57E3D', ped, entity, x + 0.0000001, y + 0.0000001, z + 0.0000001, p5 + 0.0000001, flags);","csharp":"Function.Call((Hash)0xC7F0B43DCDC57E3D, ped, entity, x, y, z, p5, flags);","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."]}}