enum Clans {
EAF,
HPK,
RAF,
};
new ClansInfo[kills][Clans];
new ClanKill[MAX_PLAYERS];
at OnPlayerDeath:
ClanKill[killerid]++;
new name[5]; GetPlayerName(killerid,name,sizeof(name));
if(!strcmp(name,"[EAF]"));
{
ClansInfo[kills][EAF]++;
}
else if(!strcmp(name,"[HPK]"));
{
ClansInfo[kills][HPK]++;
}
else if(!strcmp(name,"[RAF]"));
{
ClansInfo[kills][RAF]++;
}
in your command:
new string[256]; format(string,sizeof(string),"EAF Kills: %d HPK Kills: %d RAF Kills: %d",ClansInfo[kills][EAF],ClansInfo[kills][HPK],ClansInfo[kills][RAF]);
SendClientMessage(playerid,color,string);
Too bored to write the whole command...