[Ajuda] Erros
#1

Galera eu passei o Fs de Race pro meu Gm e agora ta dando esses erros sera que vcs podem me ajudar?

pawn Код:
C:\Users\Carlos\Desktop\MEU GM\gamemodes\ret.pwn(63) : warning 201: redefinition of constant/macro (symbol "MAX_CHECKPOINTS")
C:\Users\Carlos\Desktop\MEU GM\gamemodes\ret.pwn(2337) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\ret.pwn(2341) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\ret.pwn(2341) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\ret.pwn(2343) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\ret.pwn(2344) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\ret.pwn(2353) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\ret.pwn(2361) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\ret.pwn(2366) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\ret.pwn(2366) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\ret.pwn(2367) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\ret.pwn(2368) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\ret.pwn(2368) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\ret.pwn(2370) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\ret.pwn(2375) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\ret.pwn(2385) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\ret.pwn(10178) : error 021: symbol already defined: "isNumeric"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


16 Errors.
Reply
#2

Poste o cуdigo, no lugar de playerid pode ta usando sу i vк isso.

Se tiver
pawn Код:
for(new i; i < MAX_PLAYERS; i++)
{
ou

pawn Код:
foreach(Player, i)
Vк isso ai, caso tenha isso e sу tirar ou trocar playerid por i
Reply
#3

Poste o cуdigo
Reply
#4

Estou Usando o

pawn Код:
for(new i; i < MAX_PLAYERS; i++)
{
pawn Код:
if(ConstruindoCorrida == playerid+1)
Essa linha aqui /\ como devo colocar? assim ?

pawn Код:
if(ConstruindoCorrida == i++)
?
Reply
#5

if(ConstruindoCorrida == i)
Reply
#6

pawn Код:
C:\Users\Carlos\Desktop\MEU GM\gamemodes\NovoGM.pwn(63) : warning 201: redefinition of constant/macro (symbol "MAX_CHECKPOINTS")
C:\Users\Carlos\Desktop\MEU GM\gamemodes\NovoGM.pwn(1774) : error 017: undefined symbol "i"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\NovoGM.pwn(1947) : error 017: undefined symbol "i"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\NovoGM.pwn(2338) : error 017: undefined symbol "i"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\NovoGM.pwn(2342) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\NovoGM.pwn(2342) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\NovoGM.pwn(2344) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\NovoGM.pwn(2345) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\NovoGM.pwn(2354) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\NovoGM.pwn(2362) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\NovoGM.pwn(2367) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\NovoGM.pwn(2367) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\NovoGM.pwn(2368) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\NovoGM.pwn(2369) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\NovoGM.pwn(2369) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\NovoGM.pwn(2371) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\NovoGM.pwn(2376) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\NovoGM.pwn(2386) : error 017: undefined symbol "playerid"
C:\Users\Carlos\Desktop\MEU GM\gamemodes\NovoGM.pwn(10179) : error 021: symbol already defined: "isNumeric"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase
Reply
#7

Vocк deve estб colocando um parвmetro inexistente numa callback.

PHP код:
function callback(playerid) {
    
printf("[%d]"playerid);
    return 
1;
}

function 
callback() {
    
printf("[%d]"playerid);
    return 
1;


No segundo exemplo, irб dб o erro.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)