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



ERRO - maxblaya01 - 02.09.2015

como concerto isso ? alguem sabe?

C:\Documents and Settings\MaxiMuS\Desktop\New Server\gamemodes\new.pwn(80) : error 001: expected token: ";", but found "-identifier-"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.


> Linha 80: main()


Re: ERRO - IgorLuiz - 02.09.2015

Esqueceu do " ; "

EX:
PHP код:
main(); 



Re: ERRO - maxblaya01 - 02.09.2015

Quote:
Originally Posted by IgorLuiz
Посмотреть сообщение
Esqueceu do " ; "

EX:
PHP код:
main(); 
C:\Documents and Settings\MaxiMuS\Desktop\New Server\gamemodes\new.pwn(80) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\MaxiMuS\Desktop\New Server\gamemodes\new.pwn(81) : error 055: start of function body without function header
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

Linhas:
80: main();

81: {


Re: ERRO - IgorLuiz - 02.09.2015

manda a public main();


Re: ERRO - maxblaya01 - 02.09.2015

Quote:
Originally Posted by IgorLuiz
Посмотреть сообщение
manda a public main();
main();
{
print("\n===____________________________________== =");
print(">> GAMEMODE UNICA! EM DESENVOLVIMENTO!");
print(">> SCRIPITER: MAXIMUS SAMP");
print(">> *******: *******.COM/MAXBLAYA");
print(">> SERVIDOR DESENVOLVIDO EM: 30/08/2015");
print("===____________________________________===\ n");
}


Re: ERRO - IgorLuiz - 02.09.2015

Tente assim, й sem o ";" mesmo!

PHP код:
main()
{
    print(
"===____________________________________===\n");
    print(
">> GAMEMODE UNICA! EM DESENVOLVIMENTO!");
    print(
">> SCRIPITER: MAXIMUS SAMP");
    print(
">> *******: *******.COM/MAXBLAYA\n");
    print(
">> SERVIDOR DESENVOLVIDO EM: 30/08/2015");
    print(
"===____________________________________===\n");