Raised This Month: $ Target: $400
 0% 

VSH VSH Improvements/Additions


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 07-20-2014 , 23:23   Re: VSH Improvements/Additions
Reply With Quote #10

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 1<= MaxClientsz++)
{
    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)
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)

Last edited by MasterOfTheXP; 07-20-2014 at 23:23.
MasterOfTheXP is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:16.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode