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) |
// 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]; |
#if !defined MAX_ORGS
#define MAX_ORGS 20//mude pro seu total de orgs
#endif
Nгo existe "MAX_ORGS" no seu cуdigo , nгo estб definido.
PHP код:
|
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 |
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 |
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); |