Raised This Month: $ Target: $400
 0% 

How to find out the first player in score tab?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 08-05-2018 , 15:31   Re: How to find out the first player in score tab?
Reply With Quote #9

Quote:
Originally Posted by LemoNSK View Post
PHP Code:
public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR);
    
register_logevent("round_end"2"1=Round_End");
}


public 
round_end(id) {
      
    new 
players[MAX_PLAYERS];
    static 
numTnumCT;
    
    
get_players(playersnumT"ceh","TERRORIST");
    
get_players(playersnumCT"ceh","CT");
    

This is what I have.. Can't move from here.. So I have actually how many players there are on the server in each team, I thought of making some loop through them so I could find the players with most kills. But it makes no sense to me, there must be some command.
Well, that's the least you can do. Also don't use static on such things.
__________________
edon1337 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 12:35.


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