Raised This Month: $ Target: $400
 0% 

determine the best player in the team


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Administrator
Member
Join Date: Jun 2014
Old 10-11-2015 , 03:52   determine the best player in the team
Reply With Quote #1

Good afternoon.
How to determine the best player in the team and give it a 100hp?
Administrator is offline
nico_barrera
Junior Member
Join Date: Nov 2009
Location: PC
Old 10-11-2015 , 03:53   Re: determine the best player in the team
Reply With Quote #2

the best in what?
nico_barrera is offline
Send a message via MSN to nico_barrera
Administrator
Member
Join Date: Jun 2014
Old 10-11-2015 , 03:58   Re: determine the best player in the team
Reply With Quote #3

team
Administrator is offline
Administrator
Member
Join Date: Jun 2014
Old 10-11-2015 , 04:59   Re: determine the best player in the team
Reply With Quote #4

correctly?

PHP Code:
public search()
{
new 
sPlayers[32], iPlayersNumiBestPlayeriBestFrags
get_players
sPlayers,iPlayersNum )
for( 
0iPlayersNumi++) 
{
if( 
get_user_frags(sPlayers[i]) > iBestFrags && cs_get_user_team(i) == CS_TEAM_T)
{
iBestFrags get_user_frags(sPlayers[i]) ; 
iBestPlayer sPlayers[i]
}
}
set_user_health(iBestPlayer,300)


Last edited by Administrator; 10-11-2015 at 05:05.
Administrator is offline
Reply


Thread Tools
Display Modes

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 22:12.


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