22.01.2015, 09:21
The last player was hit by a bullet.
How i to do it?, please help me
How i to do it?, please help me
new LastShotPlayer = INVALID_PLAYER_ID;
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
if(issuerid != INVALID_PLAYER_ID)
{
LastShotPlayer = playerid;
}
return 1;
}