[Ajuda] Ajuda nesse sistema
#1

to com problema ta dando erro nesse sistema pode me ajudar e tbm quero mudar nome tem org ai q n tem na gm q eu uso
Код:
 CMD:orgs(playerid, params[])
	{
		    new string[MAX_STRING];
            MEGAString[0] = EOS;
			format(string, 128, " {7AADFF}1 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(1), InfoOrg[1][Lider], InfoOrg[1][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {483D8B}2 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(2), InfoOrg[2][Lider], InfoOrg[2][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {6CD950}3 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(3), InfoOrg[3][Lider], InfoOrg[3][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {FF8282}4 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(4), InfoOrg[4][Lider], InfoOrg[4][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {337EFF}5 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(5), InfoOrg[5][Lider], InfoOrg[5][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {FBC63F}6 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(6), InfoOrg[6][Lider], InfoOrg[6][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {996699}7 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(7), InfoOrg[7][Lider], InfoOrg[7][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {696969}8 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(8), InfoOrg[8][Lider], InfoOrg[8][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {FF9900}9 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(9), InfoOrg[9][Lider], InfoOrg[9][UL_Lider]);
    		strcat(MEGAString,string);
			format(string, 128, " {33FFFF}10 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(10), InfoOrg[10][Lider], InfoOrg[10][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {BFA873}11 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(11), InfoOrg[11][Lider], InfoOrg[11][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {FF6200}12 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(12), InfoOrg[12][Lider], InfoOrg[12][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {00483A}13 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(13), InfoOrg[13][Lider], InfoOrg[13][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {00DB1D}14 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(14), InfoOrg[14][Lider], InfoOrg[14][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {363636}15 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(15), InfoOrg[15][Lider], InfoOrg[15][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {7AADFF}16 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(16), InfoOrg[16][Lider], InfoOrg[16][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {CB42E3}17 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(17), InfoOrg[17][Lider], InfoOrg[17][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {E1ED00}18 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(18), InfoOrg[18][Lider], InfoOrg[18][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {AA0000}19 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(19), InfoOrg[19][Lider], InfoOrg[19][UL_Lider]);
    		strcat(MEGAString,string);
			format(string, 128, " {F05353}20 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(20), InfoOrg[20][Lider], InfoOrg[20][UL_Lider]);
    		strcat(MEGAString,string);
			format(string, 128, " {9ACD32}21 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(21), InfoOrg[21][Lider], InfoOrg[21][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {CAE1FF}22 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(22), InfoOrg[22][Lider], InfoOrg[22][UL_Lider]);
			strcat(MEGAString,string);
            format(string, 128, " {00E5EE}23 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(23), InfoOrg[23][Lider], InfoOrg[23][UL_Lider]);
            strcat(MEGAString,string);
            /*format(string, 128, " {66CCFF}24 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(24), InfoOrg[24][Lider], InfoOrg[24][UL_Lider]);
            strcat(MEGAString,string);
            format(string, 128, " {FF3333}25 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(25), InfoOrg[25][Lider], InfoOrg[25][UL_Lider]);
            strcat(MEGAString,string);*/
            format(string, 128, " {F09F50}33 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(33), InfoOrg[33][Lider], InfoOrg[33][UL_Lider]);
			strcat(MEGAString,string);
   			format(string, 128, " {408080}34 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(34), InfoOrg[34][Lider], InfoOrg[34][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {330099}35 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(35), InfoOrg[35][Lider], InfoOrg[35][UL_Lider]);
			strcat(MEGAString,string);
			ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Lista de Lнderes das Organizaзхes", MEGAString, "OK","");
     		return true;
	}
Reply
#2

Quais sгo os erros? Sem os erros ninguйm pode lhe ajudar, e marque as linhas que estгo dando os erros.
Reply
#3

todos os erros na linha 26099 @Realaxed
Reply
#4

Quote:
Originally Posted by didimk157
Посмотреть сообщение
todos os erros na linha 26099 @Realaxed
Como que eu vo saber a linha? Nгo tenho sua gamemode, manda o cуdigo e junto os erros e as linhas marcadas... Exemplo
PHP код:
CMD:orgs(playeridparams[])
    {
            new 
string[MAX_STRING];
            
MEGAString[0] = EOS;
            
format(string128" {7AADFF}1 - %s:{A0A0A0} %s {FFFFFF}(%s)\n"GetOrgName(1), InfoOrg[1] [Lider], InfoOrg[1][UL_Lider]); // Aqui estб o erro. 
Reply
#5

Код:
 CMD:orgs(playerid, params[])
	{
		    new string[MAX_STRING];
            MEGAString[0] = EOS; // aqui ta erro
			format(string, 128, " {7AADFF}1 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(1), InfoOrg[1][Lider], InfoOrg[1][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {483D8B}2 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(2), InfoOrg[2][Lider], InfoOrg[2][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {6CD950}3 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(3), InfoOrg[3][Lider], InfoOrg[3][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {FF8282}4 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(4), InfoOrg[4][Lider], InfoOrg[4][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {337EFF}5 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(5), InfoOrg[5][Lider], InfoOrg[5][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {FBC63F}6 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(6), InfoOrg[6][Lider], InfoOrg[6][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {996699}7 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(7), InfoOrg[7][Lider], InfoOrg[7][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {696969}8 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(8), InfoOrg[8][Lider], InfoOrg[8][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {FF9900}9 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(9), InfoOrg[9][Lider], InfoOrg[9][UL_Lider]);
    		strcat(MEGAString,string);
			format(string, 128, " {33FFFF}10 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(10), InfoOrg[10][Lider], InfoOrg[10][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {BFA873}11 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(11), InfoOrg[11][Lider], InfoOrg[11][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {FF6200}12 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(12), InfoOrg[12][Lider], InfoOrg[12][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {00483A}13 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(13), InfoOrg[13][Lider], InfoOrg[13][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {00DB1D}14 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(14), InfoOrg[14][Lider], InfoOrg[14][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {363636}15 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(15), InfoOrg[15][Lider], InfoOrg[15][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {7AADFF}16 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(16), InfoOrg[16][Lider], InfoOrg[16][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {CB42E3}17 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(17), InfoOrg[17][Lider], InfoOrg[17][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {E1ED00}18 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(18), InfoOrg[18][Lider], InfoOrg[18][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {AA0000}19 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(19), InfoOrg[19][Lider], InfoOrg[19][UL_Lider]);
    		strcat(MEGAString,string);
			format(string, 128, " {F05353}20 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(20), InfoOrg[20][Lider], InfoOrg[20][UL_Lider]);
    		strcat(MEGAString,string);
			format(string, 128, " {9ACD32}21 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(21), InfoOrg[21][Lider], InfoOrg[21][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {CAE1FF}22 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(22), InfoOrg[22][Lider], InfoOrg[22][UL_Lider]);
			strcat(MEGAString,string);
            format(string, 128, " {00E5EE}23 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(23), InfoOrg[23][Lider], InfoOrg[23][UL_Lider]);
            strcat(MEGAString,string);
            /*format(string, 128, " {66CCFF}24 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(24), InfoOrg[24][Lider], InfoOrg[24][UL_Lider]);
            strcat(MEGAString,string);
            format(string, 128, " {FF3333}25 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(25), InfoOrg[25][Lider], InfoOrg[25][UL_Lider]);
            strcat(MEGAString,string);*/
            format(string, 128, " {F09F50}33 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(33), InfoOrg[33][Lider], InfoOrg[33][UL_Lider]);
			strcat(MEGAString,string);
   			format(string, 128, " {408080}34 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(34), InfoOrg[34][Lider], InfoOrg[34][UL_Lider]);
			strcat(MEGAString,string);
			format(string, 128, " {330099}35 - %s:{A0A0A0} %s {FFFFFF}(%s)\n", GetOrgName(35), InfoOrg[35][Lider], InfoOrg[35][UL_Lider]);
			strcat(MEGAString,string);
			ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Lista de Lнderes das Organizaзхes", MEGAString, "OK","");
     		return true;
	}
Reply
#6

tirei de uma gm de rpg
Reply
#7

Compila a gamemode ai e manda os erros que dб, assim fica dificil de saber amigo. E para retirar as organizaзфes que nгo tem em sua gamemode tem que ter a GetOrgName na sua gamemode, lб estб os nomes das organizaзфes й sу vocк retirar / renomear.

@EDIT
Exemplo isto aqui.
PHP код:
stock GetOrgName(orgidNome[], Own)
{
    if(
orgid == 1) return format(NomeOwn"Policia Militar"0);
    if(
orgid == 2) return format(NomeOwn"ROTA"0); 
Na gamemode que vocк retirou o sistema deve ter, tem que retirar por completo...
Reply
#8

https://uploaddeimagens.com.br/image...ulo-png--18721
Reply
#9

Vocк nгo colocou isto na sua gamemode.
Код:
new MEGAString[2500];
Manda as linhas da warning 202 e 213 para eu lhe ajudar.
Reply
#10

https://uploaddeimagens.com.br/image...tulo22-png--16 e https://uploaddeimagens.com.br/image...ulo-png--18722 aonde eu coloco esse new MEGAString[2500];
no top ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)