06.12.2012, 06:21
Add this to the top of your script.
Then:
Add this above the line (if issuerid....)
So now, if player chooses skin:

his one sniper hit will result in a 100 pcnt health loss, or for other skins, it wont.
pawn Код:
new isdmgsniper[MAX_PLAYERS]=0;
pawn Код:
public OnPlayerSpawn(playerid)
{
new skinid = GetPlayerSkin(playerid);
if(skinid==17)
{
isdmgsniper[playerid]=1;
}
else isdmgsniper[playerid]=0;
return 1;
}
pawn Код:
if (isdmgsniper[playerid]==1)

his one sniper hit will result in a 100 pcnt health loss, or for other skins, it wont.

