10.03.2012, 18:31
oh! Excuse me, I missread the playerid. I saw the reseting only.
pawn Код:
Killstreak[ killerid ] ++;
Killstreak[ playerid ] = 0;
switch( Killstreak[ killerid ] )
{
case 2:
{
format(string,sizeof(string),"* Your Killstreak is %s", Killstreak[killerid]);
SendClientMessage(killerid,LIGHTGREEN,string);
return 1;
}
case 5:
{
GivePlayerMoney(killerid,1000);
SendClientMessage(killerid,LIGHTGREEN,"Here's an Extra $1000!");
return 1;
}
case 6:
{
GivePlayerWeapon(playerid,24,100);
SendClientMessage(killerid,LIGHTGREEN,"Here's a Extra Desert Eagle Ammo!");
return 1;
}
}