Either that or I intentionally removed them all because many caused game crashes. I implemented this quite early in development (few weeks/months ago) so I can’t really remember if there was a reason why those are missing. I’ll look into it.
Installing vMenu doesn’t seem to be the (main) issue then (not saying it’s impossible). If you installed vMenu and disabled scripthook & removed lambda, then you’re doing 3 things and pointing fingers to one of those saying “that’s conflicting” doesn’t seem fair. You can’t compare those things with each other and there’s no reason why you’d consider the installation of something new, rather than the removal of 2 other things to be the primary source of this new issue.
That’s not how things work, if my script doesn’t touch anything then it can’t possibly conflict with something else and delete it?
I’m not trying to sound like an asshole saying “oh my menu is perfect, because it’s definitely not perfect”, but there just doesn’t seem any logical reason why vMenu could cause this if it never even tries to control vehicles…
I’m honestly very much interested in finding out the issue to get this all solved, but in my opinion there doesn’t seem to be a reason why this is the fault of vMenu. Unless I’m really missing something obvious here…
I compared my code to whatever Lambda Menu uses to spawn vehicles. It’s nearly identical (also because there aren’t many ways to spawn vehicles anyway).
When you say random disappearance, do you mean when you leave the vehicle behind and come back to it? Or just driving around deletes it? Because you seem to be able to reproduce this whenever. And so far I’ve never had this happen after hours of using addon cars with vMenu loaded on my own server…
I’ll try changing some unknown variables for some of the natives to see if that makes a difference, though I’ve used it like this before in other scripts and never had any problems so far so that’s why I did it the same way. However I still haven’t been able to reproduce this so I really don’t know if this would work…
Whenever there is a few people on the server. The vehicle will start to randomly disappear while driving or even if you stand next to it and looking at it.
So i tried with scripthook enabled and car will still despawn. This time i had mine despawn right as he spawned a car. Not sure if that can help you in any way.
Well there’s nothing wrong with admitting that there’s a bug, if we can’t fix it then the bug still exists lol, no point in denying it. The bug doesn’t necessarily mean that the code is bad, it’s actually the opposite. The code works fine, though the method used has some extremely retarded-rockstar-natives-logic side effects that are a pain to figure out