Object_Classes Table - MaxNum

Yorto

New Member
OK...In my Object_Classes Table, how do I change the MAXNum column to allow for more of one vehicle and less of another?

I've changed the values, however, when the server restarts, they revert back to what appears to be default values. For whatever reason, I have 16 bikes spawning in when 2 or 3 will do. Most people like Helicopters on my server. I'd rather have 10-12 Helicopters than bicycles.

I want to make *MY* values permanent.

Thank you,

Yorto
 
It's worth bearing in mind that MaxNum is "fixed" dynamically whenever your spawn function is called (With both the vanilla pMain/pSpawn and my pSpawnVehicles). This means if you set your MaxNum to 99999 for example, it would revert the variable to the total number of spawns that are set for that classname. This fix only occurs if your MaxNum is above the maximum in object_spawns as Quarterbreed said. If you use a MaxNum equal to or less than the number of object_spawns that are set, then your number will not be altered.
 
Back
Top