19.06.2010, 18:27
I'm making a killstreak thing for my server, but I just want to know how exactly do I find how many kills they have gotten without dying? What's the best method I mean..
new KillingSpree[playerid];
public OnPlayerDeath(playerid, killerid, reason)
{
KillingSpree[killerid] ++;
KillingSpree[playerid] = 0;
if(KillingSpree[killerid] == 3){
SendClientMessage(playerid, Color, "SERVER : You now have 3 killing sprees!");}
return 1;
}
new killingspree[MAX_PLAYERS];
public OnPlayerDeath(playerid,killerid,reason) { killingspree[playerid]=0; killingspree[killerid]++; return 1; }