I’m editing esx_advancedgarage to make the preview of vehicle while choosing them (preview)
Does someone know if there is a way to clear the zone from other vehicles only locally and then restore the situation after the player choose the vehicle to prevent the problem in the video?
Easiest way would be to Setplayerroutingbucket - Natives @ Cfx.re Docs (fivem.net) while selecting a car and then set it back afterwards
Very interesting stuff, after testing it a bit I noticed changing ‘world’ and coming back to the original leads to some problems, like making peds’s tasks clear (he was driving and after reaching a waypoint he stopped instead of go to the next waypoint), so I don’t think this will be a valid solution for this situation.
That’s a shame.
What about Setentitylocallyvisible - Natives @ Cfx.re Docs (fivem.net)
That looks more promising.
thats cool, ever release it?
Nope, I haven’t really finished it. But if you want it I can send you the resource, but it’s based on a quite old esx garage
ah true yeah ill take a look at it if you dont mind