10.03.2012, 18:18
OnPlayerDeath
It's not sending the messages for some reason, nor giving the desert eagle
pawn Код:
Killstreak[killerid] ++ ;
Killstreak[playerid] = 0 ;
if(Killstreak[killerid] >= 2)
{
format(string,sizeof(string),"* Your Killstreak is %s", Killstreak[killerid]);
SendClientMessage(killerid,LIGHTGREEN,string);
return 1;
}
if(Killstreak[killerid] >= 5)
{
GivePlayerMoney(killerid,1000);
SendClientMessage(killerid,LIGHTGREEN,"Here's an Extra $1000!");
return 1;
}
if(Killstreak[killerid] == 6)
{
GivePlayerWeapon(playerid,24,100);
SendClientMessage(killerid,LIGHTGREEN,"Here's a Extra Desert Eagle Ammo!");
return 1;
}