MAX_VEHICLES
spawn_vehicle <- array(MAX_VEHICLES(), 0);spawn_vehicle[vehicle.ID]
Code: [Select]spawn_vehicle <- array(MAX_VEHICLES(), 0);spawn_vehicle[vehicle.ID]
Quote from: Mötley on September 17, 2016, 09:26:44 pmCode: [Select]spawn_vehicle <- array(MAX_VEHICLES(), 0);spawn_vehicle[vehicle.ID]MAX_VEHICLES is a constant, not a function.
GetMaxVehicles <- 158;//Server default vehicles
GetVehicleCount();
GetVehicleCount