All server vehicles keeps respawning
#1

Hi, I lauched my gamemode after 1-2months break and strange thing happend. All unused server vehicles keeps, and keeps respawning. Does someone has any ideas why?

http://imgur.com/iZSnkM3 < gif how it looks like.
All vehicles mostly is created like this:
PHP код:
CreateVehicle(5222YZ0222222, -1); 
Reply
#2

Any SetVehicleToRespawn usage in your gamemode?

And how fast are they respawning?
Reply
#3

If you haven't changed anything in your gamemode, do you probably have a new include / filterscript?
Reply
#4

I use only this include to vehicles - http://hastebin.com/rajebapava.coffee , I dont use SetVehicleToRespawn this function.
Reply
#5

How fast are they respawning, and are they doing that without a driver jumping in and out.

Along with have you got any filterscripts running?
Reply
#6

I dont have any filterscripts. I can't even get in, vehicles are respawning like crazy ( 0.1 - 1 second ).
Reply
#7

So any ideas anyone?
Reply
#8

Maybe they're not respawning, but you're having your Virtual World switched...
Reply
#9

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
Maybe they're not respawning, but you're having your Virtual World switched...
Good suggestion!

Look through your script for anything that is called on a timer (unless you are pressing a key and it causes them to disappear and re-appear) for anything that:
  • Changes your virtual/interior ID
  • Sets a vehicle to respawn
  • Forces your character to respawn (just an idea as it could be you spawning or teleporting)
You can also do additional debugging and print in the console at a high level and if something prints in the console exactly when the vehicles are respawning then you've found the issue.

All the best!
Firewire.
Reply
#10

Simply remove -1 from the last int in the CreateVeh
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)