forward ScoreUpdate(); new Policescore; new Swatscore; new Armyscore; new Kinascore; new Terroscore; new Amcsiscore; new Columbianoscore; |
if(killerid == TEAM_POLICE) { Policescore += 1; } if(killerid == TEAM_TERRO) { Terroscore += 1; } if(killerid == TEAM_ARMY) { Armyscore += 1; } if(killerid == TEAM_AMCSI) { Amcsiscore += 1; } if(killerid == TEAM_COLUMBIANO) { Columbianoscore += 1; } if(killerid == TEAM_KINA) { Kinascore += 1; } if(killerid == TEAM_SWAT) { Swatscore += 1; } |
public ScoreUpdate() { new string[100]; TextDrawHideForAll(Textcores); format(string,sizeof(string),"Rend§rsћg:%d SWAT:%d Katonasg:%d Amcsik:%d Kolumbiaiak:%d Kinaiak:%d Terroristk:%d", Policescore,Swatscore,Armyscore,Amcsiscore,Columbi anoscore,Kinascore,Terroscore); scores = TextDrawCreate(510.000000, 231.000000,string); TextDrawTextSize(scores,0.500000, 1.000000); TextDrawSetOutline(scores,0); TextDrawSetShadow(scores,2); TextDrawShowForAll(Textcores); } public kickingtimer() { for (new i = 0; i < MAX_PLAYERS; i++) { if(kicking[i] == 1) { Kick(i); } } } |