CREATE_CAR
Usage
local carIndex = Game.CreateCar(modelHashKey, x, y, z, registerAsNetworkObject)
Creates a car at the specified coords.
Parameters
modelHashKeyintegerintxnumberfloatynumberfloatznumberfloatregisterAsNetworkObjectbooleanbool
Returns
carIndexintegerint*
Original declaration
// 0x2F1D6843
void CREATE_CAR(int modelHashKey, float x, float y, float z, int* carIndex, bool registerAsNetworkObject);