Need help people on my server have been getting tanks at the military base and killing is there a way to prevent vehicle spawning in the server such as a tank or other military vehicles?
Uh… there is already a vehicle blacklist script. No need to post this when there is a search function…
Uh… I’m pretty sure the blacklist script only blocks you from spawning those vehicles through a trainer, etc… not map spawned ones.
my server has scripthook disabled am just hoping someone can point me in the right direction on to do that or maybe someone show an example code for me
Why don’t you just replace the tank model with a standard car? Problem solved.
From my understanding, people in your server are taking tanks that are parked there? Or are tanks spawning and shooting people due to a wanted level?
there going to the military base and getting a tank and since I have disabled wanted lvl its easy.
One thing you could do is (its probably not the best way) is to have a thread run a check every x seconds to check what vehicle the player is in. If its a tank, then kick them out of it, or straight up delete the vehicle.