[Ajuda] Erro ao Compilar
#1

Seguintes erros base euro

Quote:

C:\Users\Yuri\Desktop\GM\Euro RPG\gamemodes\EuroRPG.pwn(223) : error 020: invalid symbol name ""
C:\Users\Yuri\Desktop\GM\Euro RPG\gamemodes\EuroRPG.pwn(74 : error 017: undefined symbol "LoadBancoDasOrgs"
C:\Users\Yuri\Desktop\GM\Euro RPG\gamemodes\EuroRPG.pwn(823) : error 029: invalid expression, assumed zero
C:\Users\Yuri\Desktop\GM\Euro RPG\gamemodes\EuroRPG.pwn(823) : error 029: invalid expression, assumed zero
C:\Users\Yuri\Desktop\GM\Euro RPG\gamemodes\EuroRPG.pwn(823) : warning 215: expression has no effect
C:\Users\Yuri\Desktop\GM\Euro RPG\gamemodes\EuroRPG.pwn(823) : error 001: expected token: ";", but found "]"
C:\Users\Yuri\Desktop\GM\Euro RPG\gamemodes\EuroRPG.pwn(823) : fatal error 107: too many error messages on one line

Quote:

linha 223 - new PoliciaM[15];
linha 748 - LoadBancoDasOrgs();
linha 823 - PoliciaM[0] = CreateVehicle(497,1564.50000000,-1645.59960938,28.70000076,90.00000000,-1,24,15); //Police Maverick

Reply
#2

coloco a variбvel no comeзo do GM?
Reply
#3

new PoliciaM[15];

'-'
Reply
#4

Tenta Isso

pawn Код:
forward LoadBancoDasOrgs();//TOPO DO GM
Reply
#5

mais ja tem isso n no topo mais tem '-'

Quote:

forward LoadBancoDasOrgs();
public LoadBancoDasOrgs()
{
new arquivo[64];
new idx = 1;
while (idx < sizeof(BancoDasOrgs))
{
format(arquivo, sizeof(arquivo), "Cofre Org/Org%d.cfg",idx);
BancoDasOrgs[idx][pDinheiro] = DOF2_GetInt(arquivo,"Dinheiro");
BancoDasOrgs[idx][pEagle] = DOF2_GetInt(arquivo,"Eagle");
idx ++;
}
return 1;
}

Reply
#6

alguem ? '='
Reply
#7

Tenta Colocar no Topo -'
Sei lбh, poe lб vai que funfa
Reply
#8

Use desse jeito e veja o resultado.
Topo do GM:

forward LoadBancoDasOrgs();

linha 823 - CreateVehicle(497,1564.50000000,-1645.59960938,28.70000076,90.00000000,-1,24,15); //Police Maverick

linha 223 - new PoliciaM[15]; - Verifique melhor o nome certo, porque й um erro de nome invбlido...

Ajudei ? +REP (:
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)