Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock CGang__GetTopGang(&tid, &score)
- {
- new gs[MAX_GANGS], g;
- for(new i; i < CUR_TURFS; i++)
- {
- g = ActiveTurf[i][Owner];
- gs[g]++;
- if(gs[g] >= score)
- {
- score = gs[g];
- tid = g;
- #if GANG_HANDLER_DEBUG == 1
- new debugstring[128];
- format(debugstring, sizeof(debugstring), "[Gang Handler Debug] Top gang update: %d (%d)", tid, score);
- SendClientMessageToAll(COLOR_PINK, debugstring);
- #endif
- }
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement