[Ajuda] 12 Erros
#1

Eae galera, eu tava de boa mexendo em minha GM suave, dai eu criei algumas coisas, deu erro no CPS_CheckPoint sу que isso eu sei arrumar, dai dps q arrumei apareceu outros erros que eu nunca tinha visto, fiz uma pesquisava pra ver se faltava ou alguma include estava corrompida mas nao achei nada parecido...

ERROS:
Код:
C:\BPR\gamemodes\BPR.pwn(25) : error 017: undefined symbol "MAX_PLAYER_NAME"
C:\BPR\gamemodes\BPR.pwn(25) : error 009: invalid array size (negative, zero or out of bounds)
C:\BPR\gamemodes\BPR.pwn(43) : warning 201: redefinition of constant/macro (symbol "MAX_CHECKPOINTS")
C:\BPR\gamemodes\BPR.pwn(403) : warning 201: redefinition of constant/macro (symbol "cpinfo")
C:\BPR\gamemodes\BPR.pwn(404) : error 021: symbol already defined: "cpX"
C:\BPR\gamemodes\BPR.pwn(410) : error 021: symbol already defined: "CPSERVICE_active"
C:\BPR\gamemodes\BPR.pwn(411) : error 021: symbol already defined: "Checkpoints"
C:\BPR\gamemodes\BPR.pwn(412) : error 021: symbol already defined: "UsedCPSlot"
C:\BPR\gamemodes\BPR.pwn(413) : error 021: symbol already defined: "CPSERVICE_actualcp"
C:\BPR\gamemodes\BPR.pwn(1171) : error 017: undefined symbol "Atualizartempo"
C:\BPR\gamemodes\BPR.pwn(3064) : error 012: invalid function call, not a valid address
C:\BPR\gamemodes\BPR.pwn(3064) : warning 215: expression has no effect
C:\BPR\gamemodes\BPR.pwn(3064) : error 001: expected token: ";", but found ")"
C:\BPR\gamemodes\BPR.pwn(3064) : error 029: invalid expression, assumed zero
C:\BPR\gamemodes\BPR.pwn(3064) : fatal error 107: too many error messages on one line
Algum ser bondoso me ajuda aew
Reply
#2

Manda as linhas 25,43,403,404,410,411,412,413,1171,3064
Reply
#3

Linha 25 : new PlayerName[MAX_PLAYER_NAME+1];
Linha 43 : #define MAX_CHECKPOINTS 100
Linha 403: nela tem sу { porйm oq tem antes й
Код:
enum cpinfo
{
	Float:cpX,
	Float:cpY,
	Float:cpZ,
	Float:cpsz,
	cpsd,
};
Linha 404 :estб ai em cima "Float:cpX"
Linha 410 :new CPSERVICE_active;
Linha 411 :new Checkpoints[MAX_CHECKPOINTS][cpinfo];
Linha 412 :new UsedCPSlot[MAX_CHECKPOINTS];
Linha 413 :new CPSERVICE_actualcp[MAX_PLAYERS];
Linha 1171 :Atualizartempo(); // horario real
Linha 3064 :if(strfind(PlayerName(playerid), "con", false) != -1 || strfind(PlayerName(playerid), "ipt", false) != -1 || strfind(PlayerName(playerid), "com1", false) != -1 || strfind(PlayerName(playerid), "[BEV]", false) != -1 || strfind(PlayerName(playerid), "prn", false) != -1)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)