[AJUDA]4 erros ao compilar -
[STR]Matrix - 05.03.2012
pawn Код:
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(70) : warning 217: loose indentation
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(462) : warning 217: loose indentation
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(492) : warning 213: tag mismatch
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(617) : warning 217: loose indentation
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(617) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(617) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(617) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(621) : warning 217: loose indentation
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(702) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(702) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(702) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(702) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Bom eu acho que й esse symbol "PlayerInfo" mais so que eu num sei o nome que eu substituo esse PlayerInfo
Re: [AJUDA]4 erros ao compilar -
leonardoulhoa - 05.03.2012
ae man
tenta colocar essa new no topo ^^
pawn Код:
new PlayerInfo[MAX_PLAYERS][pInfo];
Re: [AJUDA]4 erros ao compilar -
[STR]Matrix - 05.03.2012
Erro :X
pawn Код:
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(3) : error 017: undefined symbol "MAX_PLAYERS"
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(3) : error 009: invalid array size (negative, zero or out of bounds)
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(71) : warning 217: loose indentation
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(463) : warning 217: loose indentation
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(493) : warning 213: tag mismatch
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(618) : warning 217: loose indentation
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(618) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(618) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(618) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(622) : warning 217: loose indentation
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(632) : error 012: invalid function call, not a valid address
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(632) : warning 215: expression has no effect
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(632) : warning 215: expression has no effect
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(632) : warning 215: expression has no effect
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(632) : warning 215: expression has no effect
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(632) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(632) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(632) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.
Re: [AJUDA]4 erros ao compilar -
leonardoulhoa - 05.03.2012
esse erro de MAX_PLAYERS adicione isto ao seu GM no topo
pawn Код:
#if defined MAX_PLAYERS
#undef MAX_PLAYERS
#define MAX_PLAYERS (101) //Nъmero de Slots + 1
#endif
agora o outro erro, me mande as linhas por favor xD
Re: [AJUDA]4 erros ao compilar -
[STR]Matrix - 05.03.2012
Erro dnv :S
pawn Код:
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(3) : error 017: undefined symbol "MAX_PLAYERS"
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(3) : error 009: invalid array size (negative, zero or out of bounds)
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(75) : warning 217: loose indentation
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(467) : warning 217: loose indentation
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(497) : warning 213: tag mismatch
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(622) : warning 217: loose indentation
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(622) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(622) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(622) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(626) : warning 217: loose indentation
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(636) : error 012: invalid function call, not a valid address
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(636) : warning 215: expression has no effect
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(636) : warning 215: expression has no effect
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(636) : warning 215: expression has no effect
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(636) : warning 215: expression has no effect
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(636) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(636) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(636) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.
Linhas do topo do meu gm
pawn Код:
new portao;
forward pd1();
new PlayerInfo[MAX_PLAYERS][pInfo];
#if defined MAX_PLAYERS
#undef MAX_PLAYERS
#define MAX_PLAYERS (101) //Nъmero de Slots + 1
#endif
#include <a_samp>
#define Vermelho 0xFF0000AA
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xFF0000AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_WATER 0x33AAAA33
#define COLOR_ORANGE 0xF69521AA
#if defined FILTERSCRIPT
Re: [AJUDA]4 erros ao compilar -
leonardoulhoa - 05.03.2012
teu GM tem a
Re: [AJUDA]4 erros ao compilar -
[STR]Matrix - 05.03.2012
tem sim
#if defined MAX_PLAYERS
#undef MAX_PLAYERS
#define MAX_PLAYERS (101) //Nъmero de Slots + 1
#endif
#include <a_samp>
#define Vermelho 0xFF0000AA
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xFF0000AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_WATER 0x33AAAA33
#define COLOR_ORANGE 0xF69521AA
#if defined FILTERSCRIPT
Re: [AJUDA]4 erros ao compilar -
leonardoulhoa - 05.03.2012
cara, que bagunзa, coloque deste jeito:
pawn Код:
#include <a_samp>
#if defined MAX_PLAYERS
#undef MAX_PLAYERS
#define MAX_PLAYERS (101) //Nъmero de Slots + 1
#endif
new PlayerInfo[MAX_PLAYERS][pInfo];
new portao;
#define Vermelho 0xFF0000AA
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xFF0000AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_WATER 0x33AAAA33
#define COLOR_ORANGE 0xF69521AA
forward pd1();
Re: [AJUDA]4 erros ao compilar -
[STR]Matrix - 05.03.2012
aff cara й melho vc passa seu msn
pawn Код:
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(10) : error 017: undefined symbol "pInfo"
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(10) : error 009: invalid array size (negative, zero or out of bounds)
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(43) : error 026: no matching "#if..."
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(52) : error 026: no matching "#if..."
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(82) : warning 217: loose indentation
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(474) : warning 217: loose indentation
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(504) : warning 213: tag mismatch
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(629) : warning 217: loose indentation
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(629) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(629) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(629) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(633) : warning 217: loose indentation
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(643) : error 012: invalid function call, not a valid address
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(643) : warning 215: expression has no effect
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(643) : warning 215: expression has no effect
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(643) : warning 215: expression has no effect
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(643) : warning 215: expression has no effect
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(643) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(643) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Jaden-\Desktop\SAMP\Fas Drift 0.3d\gamemodes\FasDW2.pwn(643) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
8 Errors.
Re: [AJUDA]4 erros ao compilar -
leonardoulhoa - 05.03.2012
leo_ulhoa@hotmail.com