The last player who was shot.
#3

Like this?
pawn Код:
new LastShotPlayer = INVALID_PLAYER_ID;

public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
    if(issuerid != INVALID_PLAYER_ID)
    {
        LastShotPlayer = playerid;
    }
    return 1;
}
Reply


Messages In This Thread
The last player who was shot. - by _Application_ - 22.01.2015, 09:21
Re: The last player who was shot. - by Rudy_ - 22.01.2015, 09:50
Re: The last player who was shot. - by Schneider - 22.01.2015, 12:16
Re: The last player who was shot. - by Arxalan - 22.01.2015, 15:17

Forum Jump:


Users browsing this thread: 1 Guest(s)