Another very simple resource being sold on cfx.re-forums.
This script allows you to place vehicles on defined vector3 coords (see config),
which spawns them if a player is near enough (set your draw distance inside the config file).
Change it to vector4(x,x,x,x) for the vehicle spots, using vector3 and then a seperate heading makes it a bit tedious to do lots, most frameworks have a way to get vec4 these days to clipboard.
Possible to spawn cars on server start instead of player detect? (not sure on performance wise if this is good) but otherwise the player detection seems to be a bit slow.
Seems once player is in range, the cars slowly spawn in, is there a way to make them all spawn at once in that particular area? Detection seems to be a bit dodgy so it loads half of them someitmes.
Possible check on player spawn to load vehicles if spawning in within the radius?
In the main.lua in line 54, you have to add the line that ends, it will have to be like thist [ RemoveDecalsFromVehicle(vehicleeee,true)] to fix sticker, color and more…