ItsMods

Full Version: get full hp after kill in finalstand
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is it possible to get full hp after a kill in finalstand or something like that?
Please explain or post a code snip if it's possible.
Defenitly is possible, but can you explain your idea more, do you mean like, I am in last stand, so my health is like 1HP, I kill somebody, and now I get full hp? (Do I still stay in last stand or do I get up?)

please be more detailed but it defenitly is possible
Ohh ok sorry...

i want that the player who killed an other in laststand get up angain with full or half life somethink like that

Edit:
I play around with the _laststand.gsc and found a function that do this here is my result...
Code:
Comeback()
{
    self endon("disconnect");

    for(;;) {
        self waittill("killed_a_player");        
        
        if(self.laststand != undefined) {
            
            self.thisPlayerIsInLastStand = false;    
            self thread maps\mp\_laststand::takePlayerOutOfLastStand();
        }
    }
}