There is a limit of 6 vehicles being spawned at a time in a map. No more than 6 can be loaded at a time, unless you script the vehicles in.
Scripting the vehicles in will make it so the vehicles WILL spawn, and they don't count towards the limit.
Make a script (if you don't have one already) and put this line in:
Code:
(script startup create_vehicles
(object_create vehicle1)
(object_create vehicle2)
(object_create vehicle3)
)
Where vehicles 1 to 3 are your vehicles you want to be spawned. You can add more than three, I just stopped at three.
Two commands exist that are similar in naming but are actually different.
"object_create" creates an object, even if the object in question already exist. This makes another of the same vehicle without deleting the old one.
"object_create_anew" will delete any old listed objects present in the map, then spawn that object. This removes an older listed object and creates a new one.
Since this script is a startup script, it doesn't need to do object_create_anew since these objects haven't been made yet.
If someone has the phynum player counting script handy, I could also show a respawning vehicles script, if needed.
Bookmarks