[Release] Revive command (ESP)

[ESP]
Hola buenas, aquí os traigo un pequeño comando para revivir a la gente que ha muerto, lo hice en una tarde que me pregunte…por qué no hacer un comando útil? y me salió!revivir.rar (726 Bytes)

[ENG]

Hey there, here i have a little revive command to revive people that has died, i made it in a day that i asked myself…why not make a util revive command? and i made it!
revivir.rar (726 Bytes)

ADDONS NECESARIOS / NEEDED MODS: [Release] Job: Save people, be a hero! (paramedic, emergency, coma, KO)

INSTRUCS: Move both addons to resources and add them to the server resources

PD: Its an administrative command, it work with essentials :))

3 Likes

Great little script! :slight_smile:

All i can suggest is instead of having it its own resource, Have them put it in there sv_admin.lua :smiley:

Great job <3

2 Likes

Thanksss for the feedback :D!!!

1 Like

Here is a english version for anyone who is too lazy to convert it :smiley:

Hope you dont mind @LaiiiCa <3

Download: Revive

1 Like

how would you add this command to police fivem?

Easily instead of using the target.permission_level convert it to use user.job == 2

can you show me a example?

With this script im not sure, but try take a look at another i have here, This uses the job id

RegisterServerEvent('s_checkPerm')
AddEventHandler('s_checkPerm', function()
   TriggerEvent('es:getPlayerFromId', source, function(user)
      if ( user.job == 2 ) then
          TriggerClientEvent('c_Notice', source, "show")
         else
          TriggerClientEvent('c_Notice', source, "hide")
      end
   end)
end)
1 Like

thanks a lot man I test it out :slight_smile:

@LaiiiCa If you could make this work on user.job that would be an amazing addition

1 Like

hey it won’t let us revive people do you know why

anyway you can conver its so its not a admin command and if you use a cop/ems ped you can use it :slight_smile:

Buenas, @LaiiiCa solo era pa haber si te pudieras pasar si tubieras un minutillo por discord a ver si nos puedieras ayudar con unas cosillas de nuestro server que solo nos falta lo del carnet de conducir y nos estamos volviendo locos gg , en el caso de que puedas te dejo por aqui mi discord pablosky13828#7014

its work with vrp? (20

whats the command