SA-MP Forums Archive
[Ajuda] error 001: expected token: "-string end-", but found "-identifier-" - 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] error 001: expected token: "-string end-", but found "-identifier-" (/showthread.php?tid=629487)



error 001: expected token: "-string end-", but found "-identifier-" - Sloww - 27.02.2017

Jб revisei o cуdigo um milhгo de vezes e nгo encontrei o erro.
Код:
    {
        ShowPlayerDialog(playerid, DIALOG_LOGAR, DIALOG_STYLE_INPUT,""BRANCO"Logar",""BRANCO"Digite sua senha abaixo para logar.","Logar","Sair");
	}
Код:
C:\Users\Robson\Desktop\CRIANDO\filterscripts\Login.pwn(30) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Robson\Desktop\CRIANDO\filterscripts\Login.pwn(30) : warning 215: expression has no effect
C:\Users\Robson\Desktop\CRIANDO\filterscripts\Login.pwn(30) : error 001: expected token: ";", but found "-string-"
C:\Users\Robson\Desktop\CRIANDO\filterscripts\Login.pwn(30) : warning 215: expression has no effect
C:\Users\Robson\Desktop\CRIANDO\filterscripts\Login.pwn(30) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Robson\Desktop\CRIANDO\filterscripts\Login.pwn(30) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.



Respuesta: error 001: expected token: "-string end-", but found "-identifier-" - SammyJ - 27.02.2017

PHP код:
#define HEX_BRANCO     "{FFFFFF}"
ShowPlayerDialog(playeridDIALOG_LOGARDIALOG_STYLE_INPUT,""HEX_BRANCO"Logar",""HEX_BRANCO"Digite sua senha abaixo para logar.","Logar","Sair"); 



Re: error 001: expected token: "-string end-", but found "-identifier-" - Sloww - 01.03.2017

Mesmo erro


Re: error 001: expected token: "-string end-", but found "-identifier-" - IlanZ - 01.03.2017

PHP код:
ShowPlayerDialog(playeridDIALOG_LOGARDIALOG_STYLE_INPUT,"{FFFFFF}Logar","{FFFFFF}Digite sua senha abaixo para logar.","Logar","Sair");