26.07.2010, 13:07
Quote:
You mean a killing spree?
try: at the top: Код:
new KillingSpree[MAX_PLAYERS]; Код:
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 } } |