function servercmdclearAllProjectiles(%client){ if(!%client.isSuperAdmin) return; %count = missionCleanupgroup.getCount(); for(%i = 0; %i < %count; %i++) { %obj = missionCleaupgroup.getObject(%i); if(%obj.getClassName() $= "Projectile") %obj.delete(); }}
There is no such thing as missionCleanupgroup, it's called MissionCleanup.You should be looping backwards (from ::getCount() - 1 to 0) instead, too.Actually, you should just be using /cancelAllEvents.
Actually, you should just be using /cancelAllEvents.
He did. Even though I have released something, you shouldn't really stop, keep going. You could make it better.