score lead system
#1

i get the player score with this code but i want to make a game text saying %s has takes the lead and it set his color to red how
Код:
new test,leader;
for (new i=0;i<MAX_PLAYERS;i++){
   if(GetPlayerScore(i) > test){
     leader = i;
     test=GetPlayerScore(i);
   }
}
Reply


Messages In This Thread
score lead system - by marwan - 11.06.2011, 19:46
Re: score lead system - by marwan - 11.06.2011, 19:53
Re: score lead system - by Jay. - 11.06.2011, 19:58
Re: score lead system - by marwan - 12.06.2011, 07:18
Re: score lead system - by marwan - 12.06.2011, 07:31
Re: score lead system - by marwan - 12.06.2011, 10:41
Re: score lead system - by Markx - 12.06.2011, 10:46
Re: score lead system - by marwan - 12.06.2011, 11:29
Re: score lead system - by marwan - 14.06.2011, 07:15
Re: score lead system - by Skaizo - 14.06.2011, 07:25

Forum Jump:


Users browsing this thread: 3 Guest(s)