Odd problem
#1

Well, the odd problem is that it isn't showing my player level in the player list when you press tab, It just started recentley. Oh and whats the bbcode for pawn on these forums
Код:
forward DollahScoreUpdate();
Код:
public DollahScoreUpdate()
{
	new LevScore;
	for(new i=0; i<MAX_PLAYERS; i++)
	{
		if (IsPlayerConnected(i))
		{
  			LevScore = PlayerInfo[i][pLevel];
			SetPlayerScore(i, LevScore);
			if (LevScore > LevScoreOld)
			{
				LevScoreOld = LevScore;
			}
		}
	}
	return 1;
}
Reply
#2

The most used BB-Code for pawno scripts is:
pawn Код:
// Test
Does the problem occur for only you, or everyone? Also, it could be caused by TAB taking a second to respond. Lastly, make sure you have a reoccurring timer to keep this updated.
Reply
#3

It occurs for everyone

My timer update for it

pawn Код:
synctimer = SetTimer("SyncUp", 6000, 1);

public SyncUp()
{
    SyncTime();
    DollahScoreUpdate();
}
Edit: I put the syncup timer under my timers for my random checkpoints and it works fine now

Thank you for the help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)