Open Heady20006 opened 5 years ago
i found out that NetworkIsHost() is the problem isnt it? If the arbitrator is switchting, we got a new host, the scripts thinks that the cars not spawned and spawning them again.
Yes this happen with me and my friend too. I disconnected then he told me my car duplicated.
the script needs to operate once, thats why I use IsNetworkIsHost()
But it didnt work. Is there any other natives we can use?
I have noticed that it does it when you tp far and then tp back to it too. Example. If it go to a door to tp to the weed warehouse location then when done i go back to the location where the car is. The car will duplicate but not all the time though.
yea i should sheck the code again, but atm i don't have a lot of time left for fivem :)
Someone fixed it?
don't think so :/ and i didn't have the time to look again at the script
If you can fix it that would be awesome I'm willing to use this script. Also I don't know if this is a issue or not. But I got 3 cars out that I own and left the server and came back and one of my vehicles was gone and the other was fixed. It didn't save my vehicles damage or it either fixed itself. Only 1 came back like it should have.
Is this problem fixed in Latest commit ?
i am hoping to find sollutions, but we are getting close
The scripts works grad but if the arbitrator is switching to another all cars in the file are respawning.