Raised This Month: $ Target: $400
 0% 

How to find out the first player in score tab?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
shauli
Member
Join Date: Jun 2018
Old 08-05-2018 , 05:41   Re: How to find out the first player in score tab?
Reply With Quote #1

Use get_players and then loop through all the players to find out which one has the highest get_user_frags. If two or more players are tied used cs_get_user_deaths as a tie-breaker.

Also bear in mind that the first player on the scoreboard isn't always the best one, a guy with 40 kills and 40 deaths will be 1st and a guy with 38 kills and 2 deaths will be 2nd.

Last edited by shauli; 08-05-2018 at 05:45.
shauli 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 12:35.


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