[AJUDA]Comando bugado
#1

pawn Код:
}
    if (strcmp("/orgs", cmdtext, true, 10) == 0)
    {
         strcat(string, "{9999FF}Policia Militar: {FFFF66}%s\n{666699}BOPE: {FFFF66}%s\n{00660C}Exercito: {FFFF66}%s\n{CC6666}SAMU: {FFFF66}%s", InfoOrg[1][Lider], InfoOrg[2][Lider], InfoOrg[3][Lider], InfoOrg[4][Lider], InfoOrg[5][Lider]);
         strcat(string, "\n{0000CC}Los Aztecas: {FFFF66}%s\n{009999}AzFarc: {FFFF66}%s\n{6699FF}Prefeitura: {FFFF66}%s\n{A9A9A9}Hitmans: {FFFF66}%s\n{FFC1C1}Reporteres: {FFFF66}%s", InfoOrg[6][Lider], InfoOrg[7][Lider], InfoOrg[8][Lider], InfoOrg[9][Lider]);
         strcat(string, "\n{66FFFF}Taxistas: {FFFF66}%s\n{999966}Policia Federal: {FFFF66}%s\n{996600}Mafia Russa: {FFFF66}%s\n{738000}Yakuza: {FFFF66}%s\n{33FF00}Groove: {FFFF66}%s", InfoOrg[10][Lider], InfoOrg[11][Lider], InfoOrg[12][Lider], InfoOrg[13][Lider], InfoOrg[14][Lider]);
         strcat(string, "\nAlqaeda: {FFFF66}%s\n{996666}Policia Civil: {FFFF66}%s\n{9900CC}Ballas: {FFFF66}%s\n{FFFF33}Los Vagos: {FFFF66}%s\n{F60000}Comando Vermelho: {FFFF66}%s\n{CCFF99}PCC: {FFFF66}%s\n{060A0}Midnight Club: {FFFF66}%s", InfoOrg[15][Lider], InfoOrg[16][Lider], InfoOrg[17][Lider], InfoOrg[18][Lider], InfoOrg[19][Lider], InfoOrg[20][Lider], InfoOrg[21][Lider]);
         ShowPlayerDialog(playerid, DIALOG_ORGS, DIALOG_STYLE_MSGBOX, "{9999FF}Organizaзхes", string, "Fechar", "Nгo Fechar");
         return 1;
Eu ja tinha pedido ajuda nesse comando, ele compila certinho, mas quando entra no servidor nгo funciona, e bloqueia todos os cmds
Reply
#2

pawn Код:
if (strcmp("/orgs", cmdtext, true, 5) == 0)
    {
         strcat(string, "{9999FF}Policia Militar: {FFFF66}%s\n{666699}BOPE: {FFFF66}%s\n{00660C}Exercito: {FFFF66}%s\n{CC6666}SAMU: {FFFF66}%s", InfoOrg[1][Lider], InfoOrg[2][Lider], InfoOrg[3][Lider], InfoOrg[4][Lider], InfoOrg[5][Lider]);
         strcat(string, "\n{0000CC}Los Aztecas: {FFFF66}%s\n{009999}AzFarc: {FFFF66}%s\n{6699FF}Prefeitura: {FFFF66}%s\n{A9A9A9}Hitmans: {FFFF66}%s\n{FFC1C1}Reporteres: {FFFF66}%s", InfoOrg[6][Lider], InfoOrg[7][Lider], InfoOrg[8][Lider], InfoOrg[9][Lider]);
         strcat(string, "\n{66FFFF}Taxistas: {FFFF66}%s\n{999966}Policia Federal: {FFFF66}%s\n{996600}Mafia Russa: {FFFF66}%s\n{738000}Yakuza: {FFFF66}%s\n{33FF00}Groove: {FFFF66}%s", InfoOrg[10][Lider], InfoOrg[11][Lider], InfoOrg[12][Lider], InfoOrg[13][Lider], InfoOrg[14][Lider]);
         strcat(string, "\nAlqaeda: {FFFF66}%s\n{996666}Policia Civil: {FFFF66}%s\n{9900CC}Ballas: {FFFF66}%s\n{FFFF33}Los Vagos: {FFFF66}%s\n{F60000}Comando Vermelho: {FFFF66}%s\n{CCFF99}PCC: {FFFF66}%s\n{060A0}Midnight Club: {FFFF66}%s", InfoOrg[15][Lider], InfoOrg[16][Lider], InfoOrg[17][Lider], InfoOrg[18][Lider], InfoOrg[19][Lider], InfoOrg[20][Lider], InfoOrg[21][Lider]);
         ShowPlayerDialog(playerid, DIALOG_ORGS, DIALOG_STYLE_MSGBOX, "{9999FF}Organizaзхes", string, "Fechar", "Nгo Fechar");
         return 1;
     }
Reply
#3

Deu SERVER: Unknown command. :C em todos os cmds
Reply
#4

Quote:
Originally Posted by bruno-style
Посмотреть сообщение
Deu SERVER: Unknown command. :C em todos os cmds
WTF?

tenta assim

pawn Код:
new cmd[30]; // Topo OnPlayerCommandText
pawn Код:
if(strcmp(cmd, "/orgs", true) == 0)
Reply
#5

nao mudou nada
Reply
#6

LOL, quais foram as ъltimas atualizaзхes que vocк fez? tente desfazer elas e teste novamente.
Reply
#7

quando eu tiro o cmd compila direitinho
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)