SA-MP Forums Archive
[HELP] Nome - 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: Español/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: [HELP] Nome (/showthread.php?tid=551470)



[HELP] Nome - zqkRazer - 19.12.2014

Queria fazer um sistema de ir pro a/d sу quem esta com uma tag especifica mais ta dando erro ;-;

Код:
Code:
new name[MAX_PLAYER_NAME],
        azt[MAX_PLAYER_NAME]; //<< TODOS QUE TIVER COM A TAG AZT VAI PRO A/D
	for (new i = 0; i < MAX_PLAYERS; i++)
	{
		if(IsPlayerConnected(i))
		{
			if(name[i] == azt[i]); // << linha do erro
			GetPlayerName(i, name, MAX_PLAYER_NAME);
			AAD_Vai[i] = 0;
}