Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new diff;
- decl String:cl_name[32]
- for(new i = 1; i <= MaxClients; i++)
- {
- if (IsClientInGame(i) && GetClientTeam(i) > 1 && GetClientTeam(i) == 2)
- {
- GetClientName(i, cl_name, sizeof(cl_name));
- my_score = GetScore(i);
- oldscore = scores[i];
- diff = my_score - oldscore
- scores[i] = my_score;
- Format(msg, sizeof(msg), "%s", cl_name);
- Format(msg2, sizeof(msg2), "'s contribution score is %d", my_score);
- StrCat(msg, sizeof(msg), msg2);
- PrintToChatAll(msg);
- PrintToChatAll("score difference = %d", diff);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement