Home
Home
Register
Login

Resources
Forum






rssReviving Teammate (reviving_teammates)

Category:script
Author:mur3023
Downloads:207
Rate:You need to be logged in to vote
Rating:None (0)
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)
...

(more)

Comments (0) | Download latest version | Report

Version history

Version Publish Date Changes
1.0.1 2018-08-22 06:37:07 Download
1.0.0 2018-08-22 06:05:09 First public release Download