rssReviving Teammate (reviving_teammates)
Category: | script |
---|---|
Author(s): | mur3023 |
Downloads: | 859 |
Rate: | You need to be logged in to vote |
Rating: | 5 (2 Votes) |
Description:
This is a simple script that allow you to revive your teammates.
https://www.youtube.com/watch?v=v5RqvSgEzEs
It also kicks you out from burning vehicles since you die instantly there.
It was made all client sided for efficiency.
It depends on animation so anything interfere with animation should be disabled for the dead ped.
for example the freeroam default MTA script will obviously glitch this so you should open the freeroam script open fr_client.lua and Ctrl + f and search for stopAnimation() which should be like this:
function stopAnimation()
server.setPedAnimation(localPlayer, false)
end
addCommandHandler("stopanim", stopAnimation)
bindKey("lshift", "down", stopAnimation)
now you only add these lines and it will not glitch anymore:
function stopAnimation()
if (getElementData(localPlayer, "deathKey") == "dead") then
return false
end
server.setPedAnimation(localPlayer, false)
end
addCommandHandler("stopanim", stopAnimation)
bindKey("lshift", "down", stopAnimation)
https://www.youtube.com/watch?v=v5RqvSgEzEs
It also kicks you out from burning vehicles since you die instantly there.
It was made all client sided for efficiency.
It depends on animation so anything interfere with animation should be disabled for the dead ped.
for example the freeroam default MTA script will obviously glitch this so you should open the freeroam script open fr_client.lua and Ctrl + f and search for stopAnimation() which should be like this:
function stopAnimation()
server.setPedAnimation(localPlayer, false)
end
addCommandHandler("stopanim", stopAnimation)
bindKey("lshift", "down", stopAnimation)
now you only add these lines and it will not glitch anymore:
function stopAnimation()
if (getElementData(localPlayer, "deathKey") == "dead") then
return false
end
server.setPedAnimation(localPlayer, false)
end
addCommandHandler("stopanim", stopAnimation)
bindKey("lshift", "down", stopAnimation)