19.11.2012, 16:40
Try this one!
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(PlayerInfo[playerid][pVip] >= 1)
{
GetPlayerHealth(killerid,health);
SetPlayerHealth(killerid,health + 50.0);
SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
}
else
{
GetPlayerHealth(killerid,health);
SetPlayerHealth(killerid,health + 25.0);
SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
}
return 1;
}