@jobscraft This is excellent, only thing that I think would be nice is to have it persists over server reboots.
That way I dont have to go back to a place to reset it. Also a range on where you can type the command might be good, especially with multiple building spots in the city
hi, you are not suppose to use commands, i only use it for testing the script . and for persistence, it’s pretty simple to code it if you have some knowledge in scripting, post an issue on github with enhancement tag and i’ll probably do it later if i got time
Related in a way, but maybe you would know the answer, @jobscraft
I’m looking for a script that would help me out with loading certain ymaps from mid air.
I created huge island, far away on sea and the basic terrain is visible from original mainland (lodDist value=“20000”). When you’re getting closer with either boat or noclip (player is standing still), you will see everything drawn as intended. Roads, harbour, trees etc. (lodDist value=“4000”). But whenever I am actually flying there, nothing of those mentioned ymaps loads until I actually touch the ground on the big island. Then everything appears, according to it’s lower drawing distance. This is the same case for both SP and FiveM.
Would you know how to force ymaps to load while closing in the air? It’s really frustrating, I want to make it ready for air logistics as well, but you literally can’t see where to put down your plane, until… You actually put it on the ground.
hi , you should try “RequestIpl(IPL NAME)”. but i think the problem is in the ymap itself, maybe you can try to fix it with code walker. try both solution and see if it work.
hi, yes and no.
I don’t know if IPLs work well in interiors, but it would be relative to GTA/fivem core, not this script.
So, if you want to use it in public interior like office, hospital … it may work (if IPL are allowed in interiors)
And if you plan to use this script for costuming interior like properties, there are two problems:
1st, as far as remember, the script is set to sync all over the server, so you may need to modify the script to work with instances.
2nd, creating ymap for each property and his variants can be time consuming.