SA-MP Forums Archive
[Ajuda] Level do player. - 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] Level do player. (/showthread.php?tid=376485)



[Ajuda] Level do player. - Kurt Cobain - 10.09.2012

Nгo sei aonde tб o code para ajustar o level do player quando ele se registra, alguйm me ajuda ? uso o BMG LS/LV de base, estб level 4, queria level 1 quando se registra, se precisarem de algum cуdigo eu posto.


Re: [Ajuda] Level do player. - .FuneraL. - 10.09.2012

Veja na Dialog de Registro, ou no Comando, Onde tem SetPlayerScore(playerid, 4); e coloque 1.


Re: [Ajuda] Level do player. - Kurt Cobain - 10.09.2012

Код:
public ScoreLevel(playerid)
{
	new LevScore;
	LevScore = PlayerInfo[playerid][pLevel];
	SetPlayerScore(playerid, LevScore);
Cara eu acho que nгo tem nada na dialog de registro se й que foi lб mesmo que eu procurei sou novato em pawn rsrs, mais algum cуdigo ?


@Edit: era no ScoreLevel mesmo valeu, +rep.

@Edit: Mas no /rg aparecer level 4, ajuda ?