Skip to main content

CREATE_OBJECT_NO_OFFSET

Game.CreateObjectNoOffsetHash0x75C51A26
Usage
local objectIndex = Game.CreateObjectNoOffset(modelHash, x, y, z, registerAsNetworkObject)

Create an object with no offset at the given coord.

Parameters

  • modelHashintegerint
  • xnumberfloat
  • ynumberfloat
  • znumberfloat
  • registerAsNetworkObjectbooleanbool

Returns

  • objectIndexintegerint*
Original declaration
// 0x75C51A26
void CREATE_OBJECT_NO_OFFSET(int modelHash, float x, float y, float z, int* objectIndex, bool registerAsNetworkObject);