Jump to page content
English English   Polish Polish   Dutch Dutch   Russian Russian   German German   Hungarian Hungarian   Norwegian Norwegian   Swedish Swedish   Finnish Finnish   Romanian Romanian   Spanish Spanish   Portuguese Portuguese   Latvian Latvian  
Homepage
Home
Register
Login

Resources
Forum
Wiki
Servers

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)

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