22.09.2013, 12:56
I made something for you, test this out and tell me if it works(It should):
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
{
new Float:HP;
GetPlayerHealth(playerid, HP);
if(weaponid == 34 && pInfo[issuerid][pVIP] >= 2) SetPlayerHealth(playerid, HP-200);
GameTextForPlayer(issuerid, "Sniper Kill!", 2600, 4);
PlayerPlaySound(issuerid, 17802, 0.0, 0.0, 0.0);
return 1;
}