SA-MP Forums Archive
[Ajuda] bug no score - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] bug no score (/showthread.php?tid=475951)



bug no score - RockstarVidaloka - 15.11.2013

galera, estou com um bug no meu GM, a base dele й GF, aн quando eu logo no Sv, jogo um pouco, e eu dou uma relogada, aн o meu score , si seta automaticamente para 51, alguйm poderia min ajudar aew., si precisar de postar algъm code abaixo so falarem.


Re: bug no score - caoraivoso3 - 15.11.2013

procura por SetPlayerScore(playerid,51); ai apagas


Re: bug no score - RockstarVidaloka - 15.11.2013

so tem isso , olha
Код:
forward ScoreLevel(playerid);

public ScoreLevel(playerid)
{
	new LevScore;
	LevScore = PlayerInfo[playerid][pLevel];
	SetPlayerScore(playerid, LevScore);
}



Re: bug no score - JoaoMonteiro452 - 15.11.2013

Quote:
Originally Posted by RockstarVidaloka
Посмотреть сообщение
so tem isso , olha
Код:
forward ScoreLevel(playerid);

public ScoreLevel(playerid)
{
	new LevScore;
	LevScore = PlayerInfo[playerid][pLevel];
	SetPlayerScore(playerid, LevScore);
}
Procure no seu gm Score e cole aqui no forum-samp. Tavez eu posso ajudar mais



Respuesta: bug no score - ViniKuliveguisky - 15.11.2013

Se registra no servidor ai vocк recebe lvl 1 certo?
Depois da /q e vai na ScriptFiles e vai onde vocк salva as contas dos jogadores, abra o arquivo que tem o seu nome e vк la quanto que ficou salvo o seu lvl!

Se fico 51 й sу ir no sistema de salvamento e ver oque estб acontecendo!


Re: bug no score - RockstarVidaloka - 15.11.2013

ta aew, tudo oque eu achei de scores
Код:
forward ScoreLevel(playerid); //no topo do GameMode

ScoreLevel(playerid); // na Public OnPlayerConnet

ScoreLevel(playerid); //na OnPlayerCommandText no cmd de /comprarnivel

ScoreLevel(giveplayerid); // no /editar level do jogador

public ScoreLevel(playerid)
{
	new LevScore;
	LevScore = PlayerInfo[playerid][pLevel];
	SetPlayerScore(playerid, LevScore);
}



Respuesta: bug no score - ViniKuliveguisky - 15.11.2013

Quote:
Originally Posted by RockstarVidaloka
Посмотреть сообщение
ta aew, tudo oque eu achei de scores
Код:
forward ScoreLevel(playerid); //no topo do GameMode

ScoreLevel(playerid); // na Public OnPlayerConnet

ScoreLevel(playerid); //na OnPlayerCommandText no cmd de /comprarnivel

ScoreLevel(giveplayerid); // no /editar level do jogador

public ScoreLevel(playerid)
{
	new LevScore;
	LevScore = PlayerInfo[playerid][pLevel];
	SetPlayerScore(playerid, LevScore);
}
Quote:
Originally Posted by ViniKuliveguisky
Посмотреть сообщение
Se registra no servidor ai vocк recebe lvl 1 certo?
Depois da /q e vai na ScriptFiles e vai onde vocк salva as contas dos jogadores, abra o arquivo que tem o seu nome e vк la quanto que ficou salvo o seu lvl!

Se fico 51 й sу ir no sistema de salvamento e ver oque estб acontecendo!
Fez oque eu disse acima?


Re: Respuesta: bug no score - RockstarVidaloka - 15.11.2013

Quote:
Originally Posted by ViniKuliveguisky
Посмотреть сообщение
Se registra no servidor ai vocк recebe lvl 1 certo?
Depois da /q e vai na ScriptFiles e vai onde vocк salva as contas dos jogadores, abra o arquivo que tem o seu nome e vк la quanto que ficou salvo o seu lvl!

Se fico 51 й sу ir no sistema de salvamento e ver oque estб acontecendo!
sim fiz tudo oque vc disse, e eu uso a DOF2, e ja atualizei ela jб e tudo, e ainda continua o Bug


Respuesta: bug no score - ViniKuliveguisky - 16.11.2013

passa o sistema de salvamento entгo


Re: bug no score - JoaoMonteiro452 - 16.11.2013

Quote:
Originally Posted by RockstarVidaloka
Посмотреть сообщение
ta aew, tudo oque eu achei de scores
Код:
forward ScoreLevel(playerid); //no topo do GameMode

ScoreLevel(playerid); // na Public OnPlayerConnet

ScoreLevel(playerid); //na OnPlayerCommandText no cmd de /comprarnivel

ScoreLevel(giveplayerid); // no /editar level do jogador

public ScoreLevel(playerid)
{
	new LevScore;
	LevScore = PlayerInfo[playerid][pLevel];
	SetPlayerScore(playerid, LevScore);
}
Ou o sistema estб mal elaborado, ou entгo o sistema de registro ta dando comflito com o score.