Why only check IN_SCORE at the end, after generating the strings to use? (Also, GetMaxClients and using z as a variable rather than i. Yay.) Even still, it's generating the same strings for each client with the tracker on...but oh well.
PHP Code:
for (new z = 1; z <= MaxClients; z++)
{
if (IsValidClient(z) && damageTracker[z] > 0)
{
if (GetClientButtons(z) & IN_SCORE) continue;
// getting hale's userid each time for some reason and etc.
}
}
By the way, since releasing FF2 Damage Tracker long ago (ohgod) I've updated
Halloween Damage Tracker with a far better ranking method. Consider using it rather than this current method (although the current method is still far better/neater than the one I originally did...*shudder*)
Besides, this one only goes up to 3 (even though the plugin seems to be accepting up to 8)
__________________