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



Error - TheuziiN_ - 18.12.2012

Nгo sei porque nгo consigo resolver esse error.

Код:
SevenRP.pwn(42) : error 001: expected token: "-string end-", but found "-identifier-"
SevenRP.pwn(42) : error 017: undefined symbol "Proximo"
SevenRP.pwn(42) : warning 215: expression has no effect
SevenRP.pwn(42) : error 001: expected token: ";", but found "-identifier-"
SevenRP.pwn(42) : fatal error 107: too many error messages on one line
Linha 42:
Код:
public OnPlayerConnect(playerid)
{
      ShowPlayerDialog(playerid, 1,DIALOG_STYLE_MSGBOX,"Tutorial de inicio","Bem vindo ao tutorial de inicio/nPosnha seu texto aqui, "Proximo","Fechar"
      return 1;



Re: Error - ForT - 18.12.2012

pawn Код:
public OnPlayerConnect(playerid)
{
      ShowPlayerDialog(playerid, 1,DIALOG_STYLE_MSGBOX,"Tutorial de inicio","Bem vindo ao tutorial de inicio/nPosnha seu texto aqui", "Proximo","Fechar");
      return 1;



Re: Error - Don_Speed - 18.12.2012

Vocк esqueceu de fechar um " na frase de bem vindo ...
Use o que o ForT postou , porem ele nгo te falou o que tava errado porriso to postando!



Re: Error - CaioMiglioli - 18.12.2012

ShowPlayerDialog(playerid, 1,DIALOG_STYLE_MSGBOX,"Tutorial de inicio","Bem vindo ao tutorial de inicio/nPonha seu texto aqui (Aqui vocк nгo fechou aspas ' " ' ), "Proximo","Fechar" (Aqui vocк nгo fechou parenteses ')' )


Re: Error - TheuziiN_ - 18.12.2012

Eu fiz oque vocкs falaram e copiei o do ForT olha como fico

Код:
C:\Users\Jow\Documents\Fazendo GameMode\Seven RolePlay\gamemodes\SevenRP.pwn(221) : warning 217: loose indentation
C:\Users\Jow\Documents\Fazendo GameMode\Seven RolePlay\gamemodes\SevenRP.pwn(227) : warning 217: loose indentation
C:\Users\Jow\Documents\Fazendo GameMode\Seven RolePlay\gamemodes\SevenRP.pwn(237) : warning 217: loose indentation
C:\Users\Jow\Documents\Fazendo GameMode\Seven RolePlay\gamemodes\SevenRP.pwn(240) : warning 225: unreachable code
C:\Users\Jow\Documents\Fazendo GameMode\Seven RolePlay\gamemodes\SevenRP.pwn(240) : warning 217: loose indentation
C:\Users\Jow\Documents\Fazendo GameMode\Seven RolePlay\gamemodes\SevenRP.pwn(240) : error 029: invalid expression, assumed zero
C:\Users\Jow\Documents\Fazendo GameMode\Seven RolePlay\gamemodes\SevenRP.pwn(240) : error 004: function "OnPlayerClickPlayer" is not implemented
C:\Users\Jow\Documents\Fazendo GameMode\Seven RolePlay\gamemodes\SevenRP.pwn(244) : error 030: compound statement not closed at the end of file (started at line 228)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.



Re: Error - TheuziiN_ - 18.12.2012

Vaaaaleu !