"Score" help
#3

Quote:
Originally Posted by [TC]XxJuggaloxX
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/SetPlayerScore
SetPlayerScore(playerid, GetPlayerScore(playerid) + 1);

Just make that for every time they level up and it will update their score in tab
Yeah, that's why I am confused.
Код:
public DollahScoreUpdate()
{
	new LevScore;
	for(new i=0; i<MAX_PLAYERS; i++)
	{
		if(IsPlayerConnected(i))
		{
   			LevScore = PlayerInfo[i][pLevel];
			SetPlayerScore(i, LevScore);
		}
	}
	return 1;
}
Does this seem right? It seems right to me...
Reply


Messages In This Thread
[SOLVED] - by Vexus - 26.10.2012, 05:56
Re: "Score" help - by [TC]XxJuggaloxX - 26.10.2012, 06:00
Re: "Score" help - by Vexus - 27.10.2012, 06:11
Re: "Score" help - by xplor09edy - 27.10.2012, 06:18
Re: "Score" help - by [TC]XxJuggaloxX - 27.10.2012, 06:43

Forum Jump:


Users browsing this thread: 1 Guest(s)