[RELEASE] Death timer

it’s not related to this script, it’s the first time i am hearing about that, or if it is, maybe you added something else similar or something that can conflict with it ( i don’t think so but it’s possible)

yea idk wats going on it works wen i kill myself but i can kill anyone else

you cannot shot them or what?

wen i shoot ppl it crashes i own a top server so theres always 24 ppl in it

do you use essential mode?

can you join teamspeak to talk i think i got it ts81.gameservers.com:9163

so for some reason when i do like /respawn with it set to trigger deathr it doesnt respawn them just does what a medic would do.

For some reason when I die I can’t just type /revivep ID it doesnt just make my player stand up it teleports me to the hospital? is their away to make it stop the timer when you die and make it use /starttimer or /revivep like your video?

Nevermind ^^ Btw I am having issues, I don’t think the animation which is played is Server Side, I think its local/client because my friend was dead on the ground and on my screen he was standing?

1 Like

Yep, player is standing while dead.

Is there a way to make it when you get revived you just get back up where you died at and the paramedic can take you to the hospital, rather than just getting teleported there?

hbk this is an awesome script. thanks for the share :slight_smile:

1 Like

Nothing is working for me, When ever i type a command in all i get is black coding text in my chat box. any ideas?

https://gyazo.com/9cd95b7facabe49c96c8dd30718150fc

the same thing is happening to me and i cant figure out whats wrong with it

link is down can you reupload?

the player stays dead too ?
in the database
since we have ESX
and would prevent old f4

if so how do i do that he stays dead sql?

   local playerPed = GetPlayerPed(-1)

    if playerPed and playerPed ~= -1 then
        -- check if we want to autospawn
        if autoSpawnEnabled then
            if NetworkIsPlayerActive(PlayerId()) then
                if (diedAt and (GetTimeDifference(GetGameTimer(), diedAt) > 2000)) or respawnForced then
                    if autoSpawnCallback then
                        autoSpawnCallback()
                    else
                        spawnPlayer()
                    end

                    respawnForced = false
                end
            end
        end

        if IsEntityDead(playerPed) then
            if not diedAt then
                diedAt = GetGameTimer()
            end
        else
            diedAt = nil
        end
    end
end

doesnt work respawn time on 2000 why??can some tell me configure?

Is there a way to whitelist the revive command to certain jobs/people eg. admins/paramedics?

is there a video of this being used somwhere?