[HELP]How can create this?
#3

Quote:
Originally Posted by me-borno
Посмотреть сообщение
You mean a killing spree?
try:

at the top:
Код:
new KillingSpree[MAX_PLAYERS];
and next:
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
     KillingSpree[killerid] ++; //gives the killer +1 kill
     KillingSpree[playerid] = 0; //resets the spree of the one that died

     if(KillingSpree[killerid] == 3) //if the killer made 3 kills, then...
     {
          SendClientMessageToAll(color, "OMG, thats a killing spree of 3");//sends a message, use your imagination
     }
}
good luck, this should work
o mean a Team Score ....
Reply


Messages In This Thread
[HELP][UNSOLVED]How can create this? - by eDz0r - 25.07.2010, 18:31
Re: [HELP]How can create this? - by me-borno - 25.07.2010, 18:43
Re: [HELP]How can create this? - by eDz0r - 26.07.2010, 13:07
Re: [HELP]How can create this? - by Shadow™ - 26.07.2010, 13:27
Re: [HELP]How can create this? - by eDz0r - 26.07.2010, 13:46
Re: [HELP]How can create this? - by WillyP - 26.07.2010, 14:12
Re: [HELP]How can create this? - by eDz0r - 26.07.2010, 14:16

Forum Jump:


Users browsing this thread: 1 Guest(s)