enc0ded / enc0ded-persistent-vehicles

Mod for FiveM OneSync Multiplayer servers
https://discord.gg/wNChXdB
MIT License
21 stars 23 forks source link

Double cars #3

Closed Rassez closed 4 years ago

Rassez commented 4 years ago

I saved cars around map. For some reason first registered car spawn to some other car. Check video. I saved cars, restarted server and then this happen. [VIDEO]

https://streamable.com/ncrv32

enc0ded commented 4 years ago

Can you update to the latest version and try again.

Rassez commented 4 years ago

Yeah i tried, but nothing. Exactly same happen, It doesn't matter by car.

iSentrie commented 4 years ago

have you wiped saved vehicles before trying again?

Rassez commented 4 years ago

Yep. I tried wipe vehicles. We use onesync infinity, can it cause that maybe?

enc0ded commented 4 years ago

Maybe I've not tried it on infinity. This probably has something to do with getting entity serverside.

Once this https://github.com/citizenfx/natives/issues/315 issue is resolved I will have a fix because I'll be able to use the plate to fetch the entity meaning there will never be a chance for a duplicate to spawn.

enc0ded commented 4 years ago

Fixed: https://github.com/enc0ded/enc0ded-persistent-vehicles/commit/51bd8d31a132e2a8cada5374f10c1ff5f8a69452