SA-MP Forums Archive
[Pedido] compound statement not closed at the end of file (started at line 687) ajuda - 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: [Pedido] compound statement not closed at the end of file (started at line 687) ajuda (/showthread.php?tid=528513)



compound statement not closed at the end of file (started at line 687) ajuda - defaubr - 28.07.2014

tб dando esse erro que fala da linha 687 sendo que na minha linha 687 sу tem isso:
Код:
format(str, sizeof(str), "%d Leia os comandos \n /V para aparecer um menu de veiculos.\n /dm1-3 \n /teles para aparecer o menu de teletrasporte", playerid);
	}



Re: compound statement not closed at the end of file (started at line 687) ajuda - GM_KoDi - 28.07.2014

й alguma chave que vocк abriu { e esqueceu de fechar } proximo a essas linhas


Re: compound statement not closed at the end of file (started at line 687) ajuda - MultiKill - 28.07.2014

Mostre duas linhas acima da linha 687, e duas abaixo da linha 687.
Verifique se abriu a chave logo acima do format.


Re: compound statement not closed at the end of file (started at line 687) ajuda - defaubr - 28.07.2014

Quote:
Originally Posted by MultiKill
Посмотреть сообщение
Mostre duas linhas acima da linha 687, e duas abaixo da linha 687.
Verifique se abriu a chave logo acima do format.
essa sгo as linhas:

Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    format(str, sizeof(str), "%d Leia os comandos \n /V para aparecer um menu de veiculos.\n /dm1-3 \n /teles para aparecer o menu de teletrasporte", playerid);
	
	if(dialogid == 0)
  	{



Re: compound statement not closed at the end of file (started at line 687) ajuda - MultiKill - 28.07.2014

Verifique se vocк fechou a chave iniciada no if(dialogid == 0) e na callbaclk OnDialogResponse