Firespider Posted April 19, 2023 Share Posted April 19, 2023 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now