Liberty Unleashed
Liberty Unleashed => Suggestions => Topic started by: Motley on September 17, 2016, 01:59:27 pm
-
Topic says it all. I cant really script this myself as there might be more vehicles in the server due to spawned cars in command.
-
MAX_VEHICLES
-
I do not know how I would describe it but could this be used in the method of
spawn_vehicle <- array(MAX_VEHICLES(), 0);
spawn_vehicle[vehicle.ID]
Also thank you. I guess I figured it would be GetMaxVehicles, Not MAX_VEHICLES.
-
spawn_vehicle <- array(MAX_VEHICLES(), 0);
spawn_vehicle[vehicle.ID]
MAX_VEHICLES is a constant, not a function.
-
spawn_vehicle <- array(MAX_VEHICLES(), 0);
spawn_vehicle[vehicle.ID]
MAX_VEHICLES is a constant, not a function.
So I will need to make my own function then.
GetMaxVehicles <- 158;//Server default vehicles
Then update the vehicle count, I do not know if that is how I want to go about it. Sorry I am working on a vehicle system,.
-
GetVehicleCount();
-
Thanks buddy I am capable of doing a lot with
GetVehicleCount