26.04.2014, 19:58
how to make a killing in a certain place was prohibited! that is to the player could not shoot
if(IsPlayerInRangeOfPoint(playerid, range, x, y, z))
{
SetPlayerHealth(playerid, 1000000);
} else {
SetPlayerHealth(playerid, 100);
}
Use This,
https://sampwiki.blast.hk/wiki/Areacheck You can reset the player's weapons And if he is shooting just clear his anims. Check if the player is shooting by pawn Код:
|