Removing vehicle/helicopter spawns?
viperfast1992
Ok so my plan was to make it where the minicopter and other vehicles you buy will no longer spawn in on the map. Does anyone know how to remove the vehicle spawns to make it where players will only be able to get them by buying them
Thank you in advance.
2CHEVSKII
Plugin Developer
You can use OnEntitySpawn and kill the matching entity instantly after that
JimDeadlock
minicopter.population 0

This will prevent minicopter spawning.
viperfast1992
Original Poster
In response to JimDeadlock ():
minicopter.population 0

This will prevent minicopter spawning.
thank you very much. Do you know if this can be added into the server config .bat file or do i have to manually enter it each time?
Orange
Plugin Developer
Editor
In response to viperfast1992 ():
thank you very much. Do you know if this can be added into the server config .bat file or do i have...
Any command from console can
oryx
Plugin Developer
After typing in console minicopter.population 0 type "writecfg" this will save your previous command in config
Wulf
uMod Admin
In response to oryx ():
After typing in console minicopter.population 0 type "writecfg" this will save your previous command...
That only saves users.cfg and bans.cfg last I looked. 
misticos
Plugin Developer
Editor
Yeah. Add manually this command to server.cfg (NOT serverauto.cfg) and it will be executed every time the server is loaded.