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=376516)



[Ajuda] Level do player - Kurt Cobain - 10.09.2012

Antes o level do player era 4 daн eu mudei pra 1 sу que no /rg continua 4, olhem as modificaзхes que fiz:



Код:
public ScoreLevel(playerid)
{
	new LevScore;
	LevScore = PlayerInfo[playerid][pLevel];
	SetPlayerScore(playerid, LevScore);


Код:
public ScoreLevel(playerid)
{
	SetPlayerScore(playerid, 1);
}



Re: [Ajuda] Level do player - Mandrack_FreeZe - 10.09.2012

manda cуdigo /rg


Re: [Ajuda] Level do player - arakuta - 10.09.2012

Simples por que o level dele nгo й o Score Level.
E sim a info pLevel.

Entгo coloque ao invez de SetPlayerScore(playerid,1);

Coloque PlayerInfo[playerid][pLevel] = 1;


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

Valeu arakuta !!!!! +rep