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=456227)



Erro - Chery - 05.08.2013

Код:
#include <a_samp>

public OnGameModeInit()
Aqui que coloca os dados do mapa ?
{
SetGameModeText("AcquaCity Brazil");
return 1;
}
mais depois que coloco ali da esses erros

C:\Documents and Settings\Gazx\Desktop\Nova pasta (3)\S1\gamemodes\AcquaCity.pwn(4) : error 001: expected token: ">", but found "-label-"
C:\Documents and Settings\Gazx\Desktop\Nova pasta (3)\S1\gamemodes\AcquaCity.pwn(4) : warning 203: symbol is never used: "edf"
C:\Documents and Settings\Gazx\Desktop\Nova pasta (3)\S1\gamemodes\AcquaCity.pwn(4) : error 010: invalid function or declaration
C:\Documents and Settings\Gazx\Desktop\Nova pasta (3)\S1\gamemodes\AcquaCity.pwn(4 -- 554 : error 010: invalid function or declaration
C:\Documents and Settings\Gazx\Desktop\Nova pasta (3)\S1\gamemodes\AcquaCity.pwn(4 -- 554 : fatal error 107: too many error messages on one line

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


4 Errors.


Re: Erro - darkxdll - 05.08.2013

o cуdigo do mapa й sempre apуs a primeira "{" (chave) da Callback "OnGameModeInit" !!


Re: Erro - Chery - 05.08.2013

agora deu esse erro

C:\Documents and Settings\Gazx\Desktop\Nova pasta (3)\S1\gamemodes\AcquaCity.pwn(4) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Gazx\Desktop\Nova pasta (3)\S1\gamemodes\AcquaCity.pwn(4) : error 017: undefined symbol "map"
C:\Documents and Settings\Gazx\Desktop\Nova pasta (3)\S1\gamemodes\AcquaCity.pwn(4) : error 017: undefined symbol "definitions"
C:\Documents and Settings\Gazx\Desktop\Nova pasta (3)\S1\gamemodes\AcquaCity.pwn(4) : fatal error 107: too many error messages on one line

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


4 Errors.


Re: Erro - Don_Speed - 05.08.2013

#edit ja posto
Postei no topic errado


pawn Код:
#include <a_samp>

public OnGameModeInit()
{
SetGameModeText("AcquaCity Brazil");

// Mapa daqui pra baixo mas sem sair do return

return 1;
}



Re: Erro - Chery - 05.08.2013

Don_speed Copilou, mas nгo apareceu nenhum veiculo eu acho, vou ter que ir apй onde eu editei =/


Re: Erro - darkxdll - 05.08.2013

undefined symbol map ... definitions...
Tu converteu o .map antes de botar no SAMP ?



Re: Erro - Chery - 05.08.2013

sim, meu editor й o MTA 1.3.1 e converti num site, code mode for SA-MP '.'


Re: Erro - [THs]ShadoW - 05.08.2013

Converte aqui: http://convertffs.com/

Posta o cуdigo dos Objetos depois de convertido e os erros.


Re: Erro - Chery - 05.08.2013

C:\Documents and Settings\Gazx\Desktop\Nova pasta (3)\S1\gamemodes\AcquaCity.pwn(7) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Gazx\Desktop\Nova pasta (3)\S1\gamemodes\AcquaCity.pwn(7) : error 017: undefined symbol "map"
C:\Documents and Settings\Gazx\Desktop\Nova pasta (3)\S1\gamemodes\AcquaCity.pwn(7) : error 017: undefined symbol "definitions"
C:\Documents and Settings\Gazx\Desktop\Nova pasta (3)\S1\gamemodes\AcquaCity.pwn(7) : fatal error 107: too many error messages on one line

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


4 Errors.


Re: Erro - [THs]ShadoW - 05.08.2013

Posta o cуdigo ¬¬'