Skip to main content

ATTACH_OBJECT_TO_CAR

Game.AttachObjectToCarHash0x7E81412A
Usage
Game.AttachObjectToCar(objectIndex, carIndex, boneIndex, offsetX, offsetY, offsetZ, rotationX, rotationY, rotationZ)

Attaches an object to an car with a non physical attachement.

Parameters

  • objectIndexintegerint
  • carIndexintegerint
  • boneIndexintegerint
  • offsetXnumberfloat
  • offsetYnumberfloat
  • offsetZnumberfloat
  • rotationXnumberfloat
  • rotationYnumberfloat
  • rotationZnumberfloat

Returns

Nothing

Original declaration
// 0x7E81412A
void ATTACH_OBJECT_TO_CAR(int objectIndex, int carIndex, int boneIndex, float offsetX, float offsetY, float offsetZ, float rotationX, float rotationY, float rotationZ);