Anti killing in jail?
#2

pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
    if(Info[playerid][isJailed] == 1)
    {
        SetPlayerHealth(playerid, 100.0); //Reheal him back to 100HP (you can change it
    }
    return 1;
}
Try this code...
Reply


Messages In This Thread
Anti killing in jail? - by Sellize - 24.01.2013, 14:01
Re: Anti killing in jail? - by B-Matt - 24.01.2013, 14:04

Forum Jump:


Users browsing this thread: 1 Guest(s)