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



Public - R4ndonsG4mers - 14.07.2013

Qual Public Esse Code Deveria Estar?

Code:
	if(GetPlayerWantedLevel(playerid) == 6)
	{
 		gHeadValue[playerid] += 100000;
 		GivePlayerWeapon(playerid,36,900);
 		GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
		format(stringa, sizeof(stringa), "{e70808}%s{e2d009} Atingiu 6 Estrelas, Quem O Matar Recebe 100,000!!!", pname);
		SendClientMessageToAll(Amarelo, stringa);
	}



Re: Public - PT - 14.07.2013

pawn Code:
public OnPlayerUpdate(playerid)
{
   //  code
}
penso eu


Re: Public - iTzDemon - 15.07.2013

Quote:
Originally Posted by PT
View Post
pawn Code:
public OnPlayerUpdate(playerid)
{
   //  code
}
penso eu
acho que ira formar um looping infinito :/


Re: Public - Don_Speed - 15.07.2013

CallBack onde o jogador recebe nivel de procura!