I would like to turn off fast travels markers in esx_ambulancejob, because i have an enterios of the pillbox hospital and i dont want to enter/exit like in default script.I tried to comment that part of the code i Visual Studio Code but, without success.Actually, i’m not good at programming at all,but giving my best, Any Idea how can i do it.
Thanks instead !

You mean the elevators at the back door ?

First, thank u 4 reply !
Not actually, fast travels markers to enter the hospital (there is no doors,marker is replacing a door)
Fast travels markers like stairs,to exit on top of the building etc.
To enter/exit the enterior

This is my first time trying to help someone on here!
Do you have a hospital mlo in place ?

Can i show u a code ?

config.lua (4.1 KB)
This is a config file, i have Pillbox Hospital Enterior

You want me to remove all of the teleporting markers ?

Yes, actually, to remove purpose of the teleport markers, because i haven an enterior for hospital, i dont need markers to enter/exit

Okay I have left the things you are going to need (Ambulance actions, VehicleSpawer, pharmacy ect)config.lua (2.5 KB)

That should work, let me know

Yes, but removing those part of the code i’ve got some errors, i thing i need to remove it from entire script,what do you mean

i will try it again

Whats the error ?

Now, there are just markers u left in script
Error was something in client/main.lua

Its probably just the teleport function acting up since its no longer being used. The markers that are left in are needed unless your inventory comes with a pharmacy then you can remove that, The other ones are for the ambulance garage so unless you are using a separate script for that then you will need them too

Thank u a lot brother, everything just work fine, vehicle spwn/delete markers, pharmacy, blip .I’ve been testing them right now

1 Like

Perfect :slight_smile:

1 Like