Is there a way?
#7

pawn Код:
new Kills[MAX_PLAYERS];

public OnPlayerDeath(playerid,killerid,reason)
{
  if(killerid != INVALID_PLAYER_ID)
  {
     Kills[killerid]++;
     if(playerid != INVALID_PLAYER_ID) Kills[playerid] = 0;
     switch(Kills[killerid])
     {
       case 3: //Stuff here
       case 4:
       case 5:
       //etc
     }
  }
  return 1;
}
Reply


Messages In This Thread
Is there a way? - by ViruZZzZ_ChiLLL - 12.05.2010, 08:58
Re: Is there a way? - by Killa_ - 12.05.2010, 08:59
Re: Is there a way? - by ViruZZzZ_ChiLLL - 12.05.2010, 09:01
Re: Is there a way? - by ettans - 12.05.2010, 09:04
Re: Is there a way? - by iJumbo - 12.05.2010, 09:04
Re: Is there a way? - by ViruZZzZ_ChiLLL - 12.05.2010, 09:05
Re: Is there a way? - by Killa_ - 12.05.2010, 09:07

Forum Jump:


Users browsing this thread: 1 Guest(s)