Jump to content

[HELP]


Firespider

Recommended Posts

Hello! I would like to write that if someone dies, the ambulance can put them in a body bag. But this code doesn't work, what's wrong.
 
 
 
 
e = exports.fv_engine;

function Heal(Localplayer, target, cmd)
if (target) then   
   if getElementData(localPlayer,"duty.faction") == 53 then
       health = getDeadPlayers(target)
         if (health == true) then 
           outputChatBox("Sikeressen be tetted  a hullzsákba")
         else
        print("DEBUG")  
end
end
end
end

addCommandHandler("bag", Heal)

 

 
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...