[Ajuda] Erro Compilar
#1

Quote:

C:\Users\cliente\Desktop\BCP\Gamemodes\BNS.pwn(96) : error 017: undefined symbol "MAX_ORGS"
C:\Users\cliente\Desktop\BCP\Gamemodes\BNS.pwn(96) : error 009: invalid array size (negative, zero or out of bounds)

Ae Alguem consegue Achar o Motivo do Erro da ae as Defines e News!

Quote:

// Defines

#define CORTR_GUERRA 0xF60000C8
#define CORTR_NINGUEM 0xF6F6F6C8
#define MAX_ORG_NAME 500 // Nao Altere Nada

// News

/* morro */
new Text:TMorroText[MAX_PLAYERS];
new GZMorro[7];
// Sistema de guerras do morro
forward DefinirCorMorro();
forward CarregarMorro();
forward SalvarMorro();
forward IniciarGuerraMorro();
forward AtualizarGuerraMorro(playerid);
forward FinalizarGuerraMorro();
forward TempoGuerraMorro();
enum MorroInfo
{
Dono,
Cor,
Guerra,
};
new Morro[MorroInfo];
new MorroPontos[MAX_ORGS];
new morreu[MAX_PLAYERS];
enum MostInfo
{
PLojaA1,
PLojaA2,
ArmaLoja[32],
Tels,
pTels,
pPontos,
};
new WantedInfo[MAX_PLAYERS][MostInfo];

Reply
#2

Nгo existe "MAX_ORGS" no seu cуdigo , nгo estб definido.
PHP код:
#if !defined MAX_ORGS
#define MAX_ORGS 20//mude pro seu total de orgs
#endif 
Reply
#3

Quote:
Originally Posted by darkxdll
Посмотреть сообщение
Nгo existe "MAX_ORGS" no seu cуdigo , nгo estб definido.
PHP код:
#if !defined MAX_ORGS
#define MAX_ORGS 20//mude pro seu total de orgs
#endif 
Valeu Ajudo muito, mas se conhece esse Erro tanbem?

Quote:

C:\Users\cliente\Desktop\BCP\Gamemodes\BNS.pwn(780 13) : error 017: undefined symbol "PM"
C:\Users\cliente\Desktop\BCP\Gamemodes\BNS.pwn(780 15) : error 017: undefined symbol "B"
C:\Users\cliente\Desktop\BCP\Gamemodes\BNS.pwn(780 15) : error 029: invalid expression, assumed zero
C:\Users\cliente\Desktop\BCP\Gamemodes\BNS.pwn(780 15) : error 017: undefined symbol "O"
C:\Users\cliente\Desktop\BCP\Gamemodes\BNS.pwn(780 15) : fatal error 107: too many error messages on one line

Reply
#4

Simbolos nгo definidos ...

pode-se usar
new PM = 10;//de acordo com o vosso uso
//ou
#define PM 10//de acordo com o vosso uso
Reply
#5

Quote:
Originally Posted by darkxdll
Посмотреть сообщение
Simbolos nгo definidos ...

pode-se usar
new PM = 10;//de acordo com o vosso uso
//ou
#define PM 10//de acordo com o vosso uso
Quote:

new NomeOrg2[MAX_ORG_NAME];
OrgTNome(1, PM, MAX_ORG_NAME); // OrgTNome(ID da Org Q Irб Participar
new NomeOrg8[MAX_ORG_NAME];
OrgTNome(2, B.O.P.E, MAX_ORG_NAME);
new NomeOrg9[MAX_ORG_NAME];
OrgTNome(5, Aztecas, MAX_ORG_NAME);
new NomeOrg10[MAX_ORG_NAME];
OrgTNome(11, PF, MAX_ORG_NAME);
new NomeOrg11[MAX_ORG_NAME];
OrgTNome(14, Groove, MAX_ORG_NAME);
new NomeOrg12[MAX_ORG_NAME];
OrgTNome(16, PC, MAX_ORG_NAME);
new NomeOrg13[MAX_ORG_NAME];
OrgTNome(17, Ballas, MAX_ORG_NAME);
new NomeOrg13[MAX_ORG_NAME];
OrgTNome(18, Vagos, MAX_ORG_NAME);
new NomeOrg13[MAX_ORG_NAME];
OrgTNome(19, CV, MAX_ORG_NAME);
new NomeOrg13[MAX_ORG_NAME];
OrgTNome(20, PCC, MAX_ORG_NAME);
new NomeOrg13[MAX_ORG_NAME];
OrgTNome(24, TCP, MAX_ORG_NAME);
new NomeOrg13[MAX_ORG_NAME];
OrgTNome(25, ADA, MAX_ORG_NAME);

Consegue Arruma para mim й que sou novo Pawno nao entendi muito o que falo.
Reply
#6

Mande-me esta funзгo "OrgTNome"
Reply
#7

Quote:
Originally Posted by darkxdll
Посмотреть сообщение
Mande-me esta funзгo "OrgTNome"
Aonde fica as Funзхes nao etendo muito

mas se ajudar peguei os Codigos AQUI http://pastebin.com/UtYwajBg
Reply
#8

Ae alguem ajuda! Pfvr
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)