Raised This Month: $ Target: $400
 0% 

Solved [ H3LP ] Position by votes


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
heroicpower7613
Member
Join Date: Nov 2016
Old 07-12-2017 , 14:30   Re: [ H3LP ] Position by votes
Reply With Quote #1

Quote:
Originally Posted by Rohanlogs View Post

Spoiler
check this?? it sorts hud by most money
heroicpower7613 is offline
DarthMan
Veteran Member
Join Date: Aug 2011
Old 07-12-2017 , 15:31   Re: [ H3LP ] Position by votes
Reply With Quote #2

Quote:
Originally Posted by heroicpower7613 View Post
check this?? it sorts hud by most money
Thanks, will check this out
DarthMan is offline
DarthMan
Veteran Member
Join Date: Aug 2011
Old 07-12-2017 , 15:58   Re: [ H3LP ] Position by votes
Reply With Quote #3

Quote:
Originally Posted by heroicpower7613 View Post
check this?? it sorts hud by most money
I did this, but ti doesn't sort instantly on the right position.

Code:
SortCustom1D( keycount, charsmax(keycount), "custom_compare" )         for( new i; i < MAX_MAPS+1; i++ )     {         formatex(szMaps, charsmax(szMaps), "%s. %s - %i %s^n",map_position[i], s_Maps[i], keycount[i],(keycount[i] > 1) ? "votes" : "vote");         add( buff, charsmax( buff ), szMaps )     }         if (f_TimeLeftBeforeDone >= 0 && (!g_voteIsDone))         formatex(szList, charsmax(szList), "Vote Results:^n%sTimeleft: %d", buff, floatround(f_TimeLeftBeforeDone));     else     {         formatex(szList, charsmax(szList), "Vote Results:^n%sTimeleft: 0", buff);         g_fLeft = get_gametime ();     }
DarthMan is offline
Reply



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 23:08.


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