{"hash":"0xA86D5F069399F44D","ns":"ENTITY","name":"GET_ENTITY_COORDS","slug":"GET_ENTITY_COORDS","official":true,"named":true,"luaName":"GetEntityCoords","game":"rdr3","apiset":"client","returnType":"Vector3","params":[{"name":"entity","type":"Entity"},{"name":"alive","type":"BOOL"},{"name":"realCoords","type":"BOOL"}],"summary":"Gets the current coordinates for a specified entity.","descriptions":[{"source":"alloc8or","format":"text","body":"Gets the current coordinates for a specified entity.\n`entity` = The entity to get the coordinates from.\n`alive` = Unused by the game, potentially used by debug builds in order to assert whether or not an entity was alive.\n\nIf entity is a ped and it's in a vehicle or on a mount the coords of that entity are returned. Set 'realCoords' to true when you need the true ped coords."}],"examples":[],"aliases":[],"enums":[],"related":["0x06843DA7060A026B"],"build":"1207","gtaHash":"0x3FEF770D40960D5A","gtaJhash":"0x1647F1CB","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ENTITY/GET_ENTITY_COORDS","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/GET_ENTITY_COORDS.md","snippets":{"lua":"local retval = GetEntityCoords(entity, alive, realCoords)","luaInvoke":"local retval = Citizen.InvokeNative(0xA86D5F069399F44D, entity, alive, realCoords, Citizen.ResultAsVector())","js":"const retval = GetEntityCoords(entity, alive, realCoords);","jsInvoke":"const retval = Citizen.invokeNative('0xA86D5F069399F44D', entity, alive, realCoords, Citizen.returnResultAnyway(), Citizen.resultAsVector());","csharp":"Vector3 retval = Function.Call<Vector3>((Hash)0xA86D5F069399F44D, entity, alive, realCoords);","notes":[]}}