All server vehicles keeps respawning -
bogushas - 16.05.2016
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(522, X + 2, Y, Z, 0, 222, 222, -1);
Re: All server vehicles keeps respawning -
Sew_Sumi - 16.05.2016
Any SetVehicleToRespawn usage in your gamemode?
And how fast are they respawning?
Re: All server vehicles keeps respawning -
BiosMarcel - 16.05.2016
If you haven't changed anything in your gamemode, do you probably have a new include / filterscript?
Re: All server vehicles keeps respawning -
bogushas - 16.05.2016
I use only this include to vehicles -
http://hastebin.com/rajebapava.coffee , I dont use SetVehicleToRespawn this function.
Re: All server vehicles keeps respawning -
Sew_Sumi - 16.05.2016
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?
Re: All server vehicles keeps respawning -
bogushas - 16.05.2016
I dont have any filterscripts. I can't even get in, vehicles are respawning like crazy ( 0.1 - 1 second ).
Re: All server vehicles keeps respawning -
bogushas - 16.05.2016
So any ideas anyone?
Re: All server vehicles keeps respawning -
Sew_Sumi - 16.05.2016
Maybe they're not respawning, but you're having your Virtual World switched...
Re: All server vehicles keeps respawning -
Firewire - 16.05.2016
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.
Re: All server vehicles keeps respawning -
Luicy. - 16.05.2016
Simply remove -1 from the last int in the CreateVeh