To delete

Update V 2.3

  • Added the spawn choice and deletion menu from the ‘litter’ command in the chat
  • Fixed some bug when taking out the ambulance bed
  • Ability to enter any bed from the menu in the ambulance

@Jm_Garcia @UltraTM

1 Like

Hello. Can you add this mod to support addon vehicles?

It’s already set, you just have to modify the coordinates to fit the vehicle you have

@TehRamsus it is suitable for the ambulance vehicle, if you want it used for a vehicle add-on, it will just change the name of the hash of the vehicle in the client side and change the positions of the bed in config.lua

Hello
Yeah
i tried normal ambulance, and it work. But then i tried addon ambulance, but i can’t put it in vehicle.

@TehRamsus
oh yes, it’s true I forgot that something else had to be changed, at the level of the detection to get out the bed. While waiting for the update, I show you how the modification

local coords = GetEntityCoords(closestObject) + GetEntityForwardVector(closestObject) * - 7.4

you have to change the value 7.4 at the end to adapt it to the best, line 148

you must also change all values where there is an ambulance by the name of the hash of your vehicle

GetHashKey(“ambulance”)

as well as the values that are already in config.lua

GetHashKey(“ehe1211, ehe1251”)

is this correct? or how this work :smiley:
(ehe is my addon ambulance)

try to put only one for the moment, my script is not yet suitable for many @TehRamsus

okey, i try

what number for key B

@Siridanai_Dansirisom hi

29

thank sir

Update V 2.4

@TehRamsus @Jm_Garcia

2 Likes

Can you atleast make a version for normal menus. The warmenu is ugly as hell sorry :zipper_mouth_face:

I want to make an alternative nativeui but I would not in another, because I share a script compatible with any server so I’m not going to start doing it with esx_menu_default and this is the first time I am told that the warmenu is ugly

Salut, est ce que c’est possible de mettre ce menu uniquement accessible aux ambulanciers ?
ou alors me guider dans la bonne direction pour mettre cela accessible uniquement au medecin :slight_smile:
Hello, its’ possible to only get this working for Ambulance job ?

thanks :slight_smile: or just give me the right direction for modify this

désolé d’avance je suis sur le portable, si tu utilises esx, il y a pas grand chose à faire, il suffit d’ajouter dans le ressource.lua dependencies { ‘es_extended’}, ainsi que dans le client au niveau de l’ouverture du menu un if ESX.playerdata.job … comme dans le client du script ambulance

sorry in advance i’m on the mobile, if you use esx, there is not much to do, just add in the resource.lua dependencies {‘es_extended’}, as well as in the client at the level of opening the menu an if ESX.playerdata.job … as in the client of the ambulance script

je t’expliquerais mieux demain

I’ll explain you better tomorrow

c est bien ce que je pensais je vais tenter ca des que je reviens de vacances :slight_smile: en tout cas super boulot. felicitation

i try it after my hollidays… congrats on this great scripts

1 Like

demain je ferais un tuto car je penses que c’est vachement demandé, tu verras bien comment faudra faire

tomorrow I would do a tutorial because I think it’s really asked, you’ll see how to do