Question.
#1

Hello, I want to know who has the biggest score in my server for top 1 textdraw, but how can I set it if player is offline and someone overrides his score and then that person goes top 1?
I hope u guys understand and can help me. (I can create another file for that if needed)
Reply
#2

This just a simple hint/logic code.You can get idea from this though.

Under OnPlayerUpdate

Код:
new a;
for(new i=0;i<MAX_PLAYERS;i++)
{
 if(a < PlayerInfo[i][pScores])
  {
    a = PlayerInfo[i][pScores];
  }
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)