mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-07 17:03:20 +00:00
Fix errors
This commit is contained in:
parent
4eea4871f0
commit
b1460d7b83
2 changed files with 3 additions and 3 deletions
Binary file not shown.
|
@ -223,7 +223,7 @@ bool ComputeGroups(GroupResult result, float activateFlow) {
|
||||||
if(g_groups[groupIndex].members.Length > 1) {
|
if(g_groups[groupIndex].members.Length > 1) {
|
||||||
g_groups[groupIndex].pos = prevPos;
|
g_groups[groupIndex].pos = prevPos;
|
||||||
groupIndex++;
|
groupIndex++;
|
||||||
PrintDebug("created group #%d with %d members", groupIndex, members.Length);
|
PrintDebug("created group #%d with %d members", groupIndex, g_groups[groupIndex].members.Length);
|
||||||
if(groupIndex == MAX_GROUPS) {
|
if(groupIndex == MAX_GROUPS) {
|
||||||
PrintDebug("maximum amount of groups reached (%d)", MAX_GROUPS);
|
PrintDebug("maximum amount of groups reached (%d)", MAX_GROUPS);
|
||||||
}
|
}
|
||||||
|
@ -298,13 +298,13 @@ bool ComputeGroups(GroupResult result, float activateFlow) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(result.ungroupedCount > 0) {
|
if(result.ungroupedCount > 0) {
|
||||||
PrintDebug("==UNGROUPED SUMMARY==")
|
PrintDebug("==UNGROUPED SUMMARY==");
|
||||||
for(int i = 1; i <= MaxClients; i++) {
|
for(int i = 1; i <= MaxClients; i++) {
|
||||||
if(!inGroup[i] && IsClientConnected(i) && IsClientInGame(i) && IsPlayerAlive(i) && GetClientTeam(i) == 2) {
|
if(!inGroup[i] && IsClientConnected(i) && IsClientInGame(i) && IsPlayerAlive(i) && GetClientTeam(i) == 2) {
|
||||||
PrintDebug("User: %N (uid#%d)", i, GetClientUserId(i));
|
PrintDebug("User: %N (uid#%d)", i, GetClientUserId(i));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
PrintDebug("==END UNGROUPED SUMMARY==")
|
PrintDebug("==END UNGROUPED SUMMARY==");
|
||||||
}
|
}
|
||||||
PrintDebug("===END GROUP SUMMARY===");
|
PrintDebug("===END GROUP SUMMARY===");
|
||||||
// delete groupMembers;
|
// delete groupMembers;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue