[Ajuda] Bug no comando
#1

Alguem sabe oque hб de errado com o comando que fis?

Eu digito /cmd pra ve os comando de admin e da unknow command dps disso nenhum comandos
mais funciona do sv

pawn Код:
CMD:cmd(playerid, params[])
{
    if(PlayerInfo[playerid][pAdmin] < 1)                        return SendClientMessage(playerid, CorErro, "Vocк precisa ser uma Administrador level 1 para usar este comando");
    new admincmds[600];
    strins(admincmds,"{FF0000}Comnados para Administradores\n",strlen(admincmds));
    strins(admincmds,"\n",strlen(admincmds));
    strins(admincmds,"{00FF00}Administrador Level 1\n",strlen(admincmds));
    strins(admincmds,"{D3D3D3}/a - /Av - /Setarskin - /Setarvida - /Setarcolete\n",strlen(admincmds));
    strins(admincmds,"{D3D3D3}/Criarcarro - /Kick - /Cadeia - /Tapa - /Ir - /Trazer - /Contagem - /Tv - /Dararma - /Idarmas\n",strlen(admincmds));
    strins(admincmds,"{D3D3D3}/Desarmar - /Respawnvehs - /Respawnveh - /Explodir - /Banir - /Agendarban - /Agendarcadeia\n",strlen(admincmds));
    strins(admincmds,"{D3D3D3}/Tempban - /Ircarro\n",strlen(admincmds));
    strins(admincmds,"{00FF00}Administrador Level 2\n",strlen(admincmds));
    strins(admincmds,"{D3D3D3}/Jogar - /Calar - /Descalar - /Limparchat - /Aviso - /Banirip\n",strlen(admincmds));
    strins(admincmds,"{00FF00}Administrador Level 3\n",strlen(admincmds));
    strins(admincmds,"{D3D3D3}/Ejetar - /Destroyveh - /Congelar - /Descongelar\n",strlen(admincmds));
    strins(admincmds,"{00FF00}Administrador Level 4\n",strlen(admincmds));
    strins(admincmds,"{D3D3D3}/Setarmundo\n",strlen(admincmds));
    strins(admincmds,"{00FF00}Administrador Level 5\n",strlen(admincmds));
    strins(admincmds,"{D3D3D3}/Chat - /Desbanir - /Desbanirip - /Disfarce - /Congelartodos\n",strlen(admincmds));
    strins(admincmds,"{D3D3D3}/Descongelartodos - /Dardinheiro - /Setardinheiro - /Setarscore\n",strlen(admincmds));
    strins(admincmds,"{D3D3D3}/Clima - /Vidatodos - /Coletetodos - /Armatodos - /Esconder\n",strlen(admincmds));
    strins(admincmds,"{D3D3D3}/Fakekick - /Fakeban\n",strlen(admincmds));
    strins(admincmds,"{00FF00}Administrador Level 6\n",strlen(admincmds));
    strins(admincmds,"{D3D3D3}/Daradmin - /Tiraradmin\n",strlen(admincmds));
    strins(admincmds,"{00FF00}Administrador Level 7\n",strlen(admincmds));
    strins(admincmds,"{D3D3D3}/Gmx - /Senhaserver\n",strlen(admincmds));
    strins(admincmds,"\n",strlen(admincmds));
    ShowPlayerDialog(playerid,9947, DIALOG_STYLE_MSGBOX, "{FFFFFF}Comandos de Admin",admincmds, "{FF0000}X", "");
    return 1;
}
Reply
#2

troca strins por strcat
Reply
#3

Aproveita e leia esse meu tуpico, o CrashDetect poderб ser muito ъtil:
https://sampforum.blast.hk/showthread.php?tid=587209
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)