CREATE_OBJECT
Usage
local objectIndex = Game.CreateObject(modelHashKey, x, y, z, registerAsNetworkObject)
Create an object with an offset (from the root the base) at the given coord.
Parameters
modelHashKeyintegerintxnumberfloatynumberfloatznumberfloatregisterAsNetworkObjectbooleanbool
Returns
objectIndexintegerint*
Original declaration
// 0x4DE152A0
void CREATE_OBJECT(int modelHashKey, float x, float y, float z, int* objectIndex, bool registerAsNetworkObject);