GET_OFFSET_FROM_CAR_IN_WORLD_COORDS
Usage
local pOffX, pOffY, pOffZ = Game.GetOffsetFromCarInWorldCoords(carIndex, x, y, z)
Returns the coordinates of an offset of the vehicle's position, depending on the vehicle's rotation.
Parameters
carIndexintegerintxnumberfloatynumberfloatznumberfloat
Returns
pOffXnumberfloat*pOffYnumberfloat*pOffZnumberfloat*
Original declaration
// 0x7F8D3DD9
void GET_OFFSET_FROM_CAR_IN_WORLD_COORDS(int carIndex, float x, float y, float z, float* pOffX, float* pOffY, float* pOffZ);