[Ajuda] Comando nao funciona
#1

eu estou usando uma FS em um GM RP so que o GM diz q os comandos q estгo na FS nao existem Olhe o comando da FS e olha oque aparece quando eu digito no Server

pawn Код:
CMD:animes(playerid)
    {
    SendClientMessage(playerid, COLOR_RED, "|=======================[Animes]=======================|");
    SendClientMessage(playerid, COLOR_RED, "| Traduzido e Modificado Por: Junior                   |");
    SendClientMessage(playerid, COLOR_RED, "|=======================[Animes]=======================|");
    SendClientMessage(playerid, COLOR_RED, "| /Handsup /cellin /cellout /bebado /crossarms /deitar |");
    SendClientMessage(playerid, COLOR_RED, "| /vomitar /overdose /gro /falar /sentar /dance /mijar |");
    SendClientMessage(playerid, COLOR_RED, "| /fumar                                               |");
    SendClientMessage(playerid, COLOR_RED, "|=======================[Animes]=======================|");
    return 1;
    }
Код:
[ERRO] O comando /animes nгo й vбlido. Digite /ajuda para mais informaзхes.
Reply
#2

pawn Код:
CMD:animes(playerid, params[])
 {
    SendClientMessage(playerid, COLOR_RED, "|=======================[Animes]=======================|");
    SendClientMessage(playerid, COLOR_RED, "| Traduzido e Modificado Por: Junior                   |");
    SendClientMessage(playerid, COLOR_RED, "|=======================[Animes]=======================|");
    SendClientMessage(playerid, COLOR_RED, "| /Handsup /cellin /cellout /bebado /crossarms /deitar |");
    SendClientMessage(playerid, COLOR_RED, "| /vomitar /overdose /gro /falar /sentar /dance /mijar |");
    SendClientMessage(playerid, COLOR_RED, "| /fumar                                               |");
    SendClientMessage(playerid, COLOR_RED, "|=======================[Animes]=======================|");
    return 1;
}
Ve se vai
Reply
#3

Quote:
Originally Posted by JuniorRock
Посмотреть сообщение
Код:
[ERRO] O comando /animes nгo й vбlido. Digite /ajuda para mais informaзхes.
Continua a mesma coisa,O comando
pawn Код:
CMD:animes(playerid)
    {
    SendClientMessage(playerid, COLOR_RED, "|=======================[Animes]=======================|");
    SendClientMessage(playerid, COLOR_RED, "| Traduzido e Modificado Por: Junior                   |");
    SendClientMessage(playerid, COLOR_RED, "|=======================[Animes]=======================|");
    SendClientMessage(playerid, COLOR_RED, "| /Handsup /cellin /cellout /bebado /crossarms /deitar |");
    SendClientMessage(playerid, COLOR_RED, "| /vomitar /overdose /gro /falar /sentar /dance /mijar |");
    SendClientMessage(playerid, COLOR_RED, "| /fumar                                               |");
    SendClientMessage(playerid, COLOR_RED, "|=======================[Animes]=======================|");
    return 1;
    }
й da FS e a mensagem
Код:
[ERRO] O comando /animes nгo й vбlido. Digite /ajuda para mais informaзхes.
и do GM,acho q o GM nao reconhece o Comando que esta na FS
Reply
#4

Coloca o comando /animes no seu [GM] Entгo .-.
Reply
#5

Seu [GM] й Strcmp ? e o [FS] й Zcmd ?

Se for vai dar conflito mesmo...
Reply
#6

Meu gm tem isso em cima quase no topo
pawn Код:
#if USE_COMMANDS == 1
    dcmd(g, 1, cmdtext);
    dcmd(g, 1, cmdtext);
    dcmd(m, 1, cmdtext);
    dcmd(d, 1, cmdtext);
    dcmd(a, 1, cmdtext);
    dcmd(v, 1, cmdtext);
    dcmd(i, 1, cmdtext);
    dcmd(j, 1, cmdtext);
    dcmd(r, 1, cmdtext);

    dcmd(br, 2, cmdtext);
    dcmd(rg, 2, cmdtext);
    dcmd(dn, 2, cmdtext);
    dcmd(up, 2, cmdtext);
    dcmd(an, 2, cmdtext);
    dcmd(eu, 2, cmdtext);
    dcmd(ma, 2, cmdtext);
    dcmd(on, 2, cmdtext);
    dcmd(su, 2, cmdtext);
    dcmd(su, 2, cmdtext);
    dcmd(ac, 2, cmdtext);
    dcmd(at, 2, cmdtext);
    dcmd(at, 2, cmdtext);
    dcmd(vw, 2, cmdtext);
    dcmd(id, 2, cmdtext);
    dcmd(db, 2, cmdtext);
    dcmd(ao, 2, cmdtext);
    dcmd(cv, 2, cmdtext);
    dcmd(sa, 2, cmdtext);
    dcmd(ir, 2, cmdtext);
    dcmd(vp, 2, cmdtext);
    dcmd(ah, 2, cmdtext);
    dcmd(gf, 2, cmdtext);
    dcmd(ml, 2, cmdtext);
    dcmd(rf, 2, cmdtext);
    dcmd(mp, 2, cmdtext);
//  dcmd(v1, 2, cmdtext);
//  dcmd(v2, 2, cmdtext);
    dcmd(ws, 2, cmdtext);
    dcmd(ip, 2, cmdtext);
    dcmd(ta, 2, cmdtext);

    dcmd(gmr, 3, cmdtext);
    dcmd(ban, 3, cmdtext);
    dcmd(sim, 3, cmdtext);
    dcmd(nao, 3, cmdtext);
    dcmd(gps, 3, cmdtext);
    dcmd(rbr, 3, cmdtext);
    dcmd(fly, 3, cmdtext);
    dcmd(tel, 3, cmdtext);
    dcmd(gov, 3, cmdtext);
    dcmd(vid, 3, cmdtext);
    dcmd(sms, 3, cmdtext);
    dcmd(des, 3, cmdtext);
    dcmd(des, 3, cmdtext);
    dcmd(biz, 3, cmdtext);
    dcmd(esc, 3, cmdtext);
    dcmd(afk, 3, cmdtext);
    dcmd(dar, 3, cmdtext);
    dcmd(irx, 3, cmdtext);
    dcmd(cam, 3, cmdtext);
    dcmd(rcs, 3, cmdtext);
    dcmd(irc, 3, cmdtext);
    dcmd(ler, 3, cmdtext);
    dcmd(rgf, 3, cmdtext);
    dcmd(imo, 3, cmdtext);
    dcmd(rcr, 3, cmdtext);
    dcmd(emp, 3, cmdtext);
    dcmd(job, 3, cmdtext);
    dcmd(rat, 3, cmdtext);
    dcmd(god, 3, cmdtext);
    dcmd(bug, 3, cmdtext);
    dcmd(doa, 3, cmdtext);
    dcmd(ws2, 3, cmdtext);
    dcmd(rei, 3, cmdtext);

    dcmd(sons, 4, cmdtext);
    dcmd(cone, 4, cmdtext);
    dcmd(doar, 4, cmdtext);
    dcmd(skin, 4, cmdtext);
    dcmd(hold, 4, cmdtext);
    dcmd(pcar, 4, cmdtext);
    dcmd(dado, 4, cmdtext);
    dcmd(luta, 4, cmdtext);
    dcmd(sbiz, 4, cmdtext);
    dcmd(remp, 4, cmdtext);
    dcmd(edit, 4, cmdtext);
    dcmd(sair, 4, cmdtext);
    dcmd(home, 4, cmdtext);
    dcmd(irls, 4, cmdtext);
    dcmd(irlv, 4, cmdtext);
    dcmd(irsf, 4, cmdtext);
    dcmd(irin, 4, cmdtext);
    dcmd(irrc, 4, cmdtext);
    dcmd(fogo, 4, cmdtext);
    dcmd(kick, 4, cmdtext);
    dcmd(lvl2, 4, cmdtext);
    dcmd(hosp, 4, cmdtext);
    dcmd(site, 4, cmdtext);
    dcmd(blog, 4, cmdtext);
    dcmd(ipts, 4, cmdtext);
    dcmd(fila, 4, cmdtext);
    dcmd(sexo, 4, cmdtext);
    dcmd(orgs, 4, cmdtext);
    dcmd(rbrs, 4, cmdtext);
    dcmd(spec, 4, cmdtext);
    dcmd(capo, 4, cmdtext);
    dcmd(mark, 4, cmdtext);
    dcmd(vaca, 4, cmdtext);
    dcmd(nota, 4, cmdtext);
    dcmd(mini, 4, cmdtext);

    dcmd(banip, 5, cmdtext);
    dcmd(unban, 5, cmdtext);
    dcmd(ajuda, 5, cmdtext);
    dcmd(beber, 5, cmdtext);
    dcmd(rcone, 5, cmdtext);
    dcmd(pagar, 5, cmdtext);
    dcmd(logar, 5, cmdtext);
    dcmd(ficha, 5, cmdtext);
    dcmd(abrir, 5, cmdtext);
    dcmd(cofre, 5, cmdtext);
    dcmd(ligar, 5, cmdtext);
    dcmd(horas, 5, cmdtext);
    dcmd(house, 5, cmdtext);
    dcmd(rcars, 5, cmdtext);
    dcmd(socio, 5, cmdtext);
    dcmd(curar, 5, cmdtext);
    dcmd(admin, 5, cmdtext);
    dcmd(bangu, 5, cmdtext);
    dcmd(setvw, 5, cmdtext);
    dcmd(fumar, 5, cmdtext);
    dcmd(tunar, 5, cmdtext);
    dcmd(puxar, 5, cmdtext);
    dcmd(ircar, 5, cmdtext);
    dcmd(irin2, 5, cmdtext);
    dcmd(irmar, 5, cmdtext);
    dcmd(irjet, 5, cmdtext);
    dcmd(pjveh, 5, cmdtext);
    dcmd(rodas, 5, cmdtext);
    dcmd(spawn, 5, cmdtext);
    dcmd(sethp, 5, cmdtext);
    dcmd(verhp, 5, cmdtext);
    dcmd(tempo, 5, cmdtext);
    dcmd(bolsa, 5, cmdtext);
    dcmd(mutar, 5, cmdtext);
    dcmd(skick, 5, cmdtext);
    dcmd(aviso, 5, cmdtext);
    dcmd(forum, 5, cmdtext);
    dcmd(radar, 5, cmdtext);
    dcmd(casar, 5, cmdtext);
    dcmd(papel, 5, cmdtext);
    dcmd(senha, 5, cmdtext);
    dcmd(lutar, 5, cmdtext);
    dcmd(bomba, 5, cmdtext);
    dcmd(comer, 5, cmdtext);
    dcmd(pegar, 5, cmdtext);
    dcmd(plano, 5, cmdtext);
    dcmd(deter, 5, cmdtext);
    dcmd(cinto, 5, cmdtext);
    dcmd(radio, 5, cmdtext);
    dcmd(laser, 5, cmdtext);
    dcmd(malas, 5, cmdtext);
    dcmd(placa, 5, cmdtext);
    dcmd(farol, 5, cmdtext);
    dcmd(verip, 5, cmdtext);
    dcmd(rtoat, 5, cmdtext);
    dcmd(teste, 5, cmdtext);
    dcmd(carga, 5, cmdtext);
    dcmd(darat, 5, cmdtext);
    dcmd(email, 5, cmdtext);
    dcmd(delog, 5, cmdtext);
    dcmd(votar, 5, cmdtext);
    dcmd(verid, 5, cmdtext);
    dcmd(addvw, 5, cmdtext);
    dcmd(punir, 5, cmdtext);
    dcmd(recon, 5, cmdtext);
    dcmd(ccasa, 5, cmdtext);

    dcmd(contar, 6, cmdtext);
    dcmd(fixveh, 6, cmdtext);
    dcmd(roubar, 6, cmdtext);
    dcmd(editar, 6, cmdtext);
    dcmd(fixcam, 6, cmdtext);
    dcmd(payday, 6, cmdtext);
    dcmd(vendar, 6, cmdtext);
    dcmd(buzina, 6, cmdtext);
    dcmd(gritar, 6, cmdtext);
    dcmd(onibus, 6, cmdtext);
    dcmd(onibus, 6, cmdtext);
    dcmd(houseo, 6, cmdtext);
    dcmd(delveh, 6, cmdtext);
    dcmd(entrar, 6, cmdtext);
    dcmd(reparo, 6, cmdtext);
    dcmd(setint, 6, cmdtext);
    dcmd(iraero, 6, cmdtext);
    dcmd(irbase, 6, cmdtext);
    dcmd(viajar, 6, cmdtext);
    dcmd(pintar, 6, cmdtext);
    dcmd(irvice, 6, cmdtext);
    dcmd(irstad, 6, cmdtext);
    dcmd(irkick, 6, cmdtext);
    dcmd(irauto, 6, cmdtext);
    dcmd(trazer, 6, cmdtext);
    dcmd(corveh, 6, cmdtext);
    dcmd(admins, 6, cmdtext);
    dcmd(equipe, 6, cmdtext);
    dcmd(camera, 6, cmdtext);
    dcmd(jornal, 6, cmdtext);
    dcmd(relato, 6, cmdtext);
    dcmd(musica, 6, cmdtext);
    dcmd(vender, 6, cmdtext);
    dcmd(pescar, 6, cmdtext);
    dcmd(peixes, 6, cmdtext);
    dcmd(atirar, 6, cmdtext);
    dcmd(laptop, 6, cmdtext);
    dcmd(rebite, 6, cmdtext);
    dcmd(aovivo, 6, cmdtext);
    dcmd(curame, 6, cmdtext);
    dcmd(ejetar, 6, cmdtext);
    dcmd(presos, 6, cmdtext);
    dcmd(fianca, 6, cmdtext);
    dcmd(limpar, 6, cmdtext);
    dcmd(multar, 6, cmdtext);
    dcmd(pstats, 6, cmdtext);
    dcmd(subirh, 6, cmdtext);
    dcmd(roupas, 6, cmdtext);
    dcmd(setdoa, 6, cmdtext);
    dcmd(alarme, 6, cmdtext);
    dcmd(doador, 6, cmdtext);
    dcmd(antiir, 6, cmdtext);
    dcmd(multiv, 6, cmdtext);
    dcmd(irpref, 6, cmdtext);
    dcmd(iupi1l, 6, cmdtext);
    dcmd(irmark, 6, cmdtext);
    dcmd(radios, 6, cmdtext);
    dcmd(daroff, 6, cmdtext);
    dcmd(antiab, 6, cmdtext);
    dcmd(addint, 6, cmdtext);
    dcmd(pegar1, 6, cmdtext);
    dcmd(pegar2, 6, cmdtext);
    dcmd(pegar3, 6, cmdtext);
    dcmd(pegar4, 6, cmdtext);
    dcmd(predio, 6, cmdtext);
    dcmd(skills, 6, cmdtext);
    dcmd(vervar, 6, cmdtext);

    dcmd(loteria, 7, cmdtext);
    dcmd(baninfo, 7, cmdtext);
    dcmd(bannick, 7, cmdtext);
    dcmd(tempban, 7, cmdtext);
    dcmd(pjcarro, 7, cmdtext);
    dcmd(carmenu, 7, cmdtext);
    dcmd(editarp, 7, cmdtext);
    dcmd(rtcones, 7, cmdtext);
    dcmd(jetpack, 7, cmdtext);
    dcmd(anuncio, 7, cmdtext);
    dcmd(governo, 7, cmdtext);
    dcmd(trancar, 7, cmdtext);
    dcmd(comprar, 7, cmdtext);
    dcmd(enxotar, 7, cmdtext);
    dcmd(aluguel, 7, cmdtext);
    dcmd(handsup, 7, cmdtext);
    dcmd(atender, 7, cmdtext);
    dcmd(vivavoz, 7, cmdtext);
    dcmd(produto, 7, cmdtext);
    dcmd(entrada, 7, cmdtext);
    dcmd(prender, 7, cmdtext);
    dcmd(setstat, 7, cmdtext);
    dcmd(skydive, 7, cmdtext);
    dcmd(setskin, 7, cmdtext);
    dcmd(irhotel, 7, cmdtext);
    dcmd(irbangu, 7, cmdtext);
    dcmd(pintura, 7, cmdtext);
    dcmd(irteste, 7, cmdtext);
    dcmd(irderby, 7, cmdtext);
    dcmd(irtrack, 7, cmdtext);
    dcmd(irblood, 7, cmdtext);
    dcmd(dararma, 7, cmdtext);
    dcmd(lideres, 7, cmdtext);
    dcmd(recorde, 7, cmdtext);
    dcmd(manuais, 7, cmdtext);
    dcmd(contato, 7, cmdtext);
    dcmd(dartaxa, 7, cmdtext);
    dcmd(entrega, 7, cmdtext);
    dcmd(jornais, 7, cmdtext);
    dcmd(irsenha, 7, cmdtext);
    dcmd(servico, 7, cmdtext);
    dcmd(liberar, 7, cmdtext);
    dcmd(membros, 7, cmdtext);
    dcmd(emprego, 7, cmdtext);
    dcmd(reforco, 7, cmdtext);
    dcmd(algemar, 7, cmdtext);
    dcmd(aceitar, 7, cmdtext);
    dcmd(helifbi, 7, cmdtext);
    dcmd(descerh, 7, cmdtext);
    dcmd(equipar, 7, cmdtext);
    dcmd(radioph, 7, cmdtext);
    dcmd(votacao, 7, cmdtext);
    dcmd(pixinfo, 7, cmdtext);
    dcmd(treinar, 7, cmdtext);
    dcmd(pskills, 7, cmdtext);
    dcmd(sortear, 7, cmdtext);

    dcmd(vencedor, 8, cmdtext);
    dcmd(corcarro, 8, cmdtext);
    dcmd(pergunta, 8, cmdtext);
    dcmd(barreira, 8, cmdtext);
    dcmd(corrente, 8, cmdtext);
    dcmd(telefone, 8, cmdtext);
    dcmd(telefone, 8, cmdtext);
    dcmd(stophold, 8, cmdtext);
    dcmd(suspeito, 8, cmdtext);
    dcmd(asellbiz, 8, cmdtext);
    dcmd(desligar, 8, cmdtext);
    dcmd(spawncar, 8, cmdtext);
    dcmd(guinchar, 8, cmdtext);
    dcmd(ativarcw, 8, cmdtext);
    dcmd(ativarmp, 8, cmdtext);
    dcmd(horajogo, 8, cmdtext);
    dcmd(fourdive, 8, cmdtext);
    dcmd(convidar, 8, cmdtext);
    dcmd(expulsar, 8, cmdtext);
    dcmd(daradmin, 8, cmdtext);
    dcmd(darlider, 8, cmdtext);
    dcmd(darcargo, 8, cmdtext);
    dcmd(entercar, 8, cmdtext);
    dcmd(irevento, 8, cmdtext);
    dcmd(setarmor, 8, cmdtext);
    dcmd(dinheiro, 8, cmdtext);
    dcmd(dargrana, 8, cmdtext);
    dcmd(explodir, 8, cmdtext);
    dcmd(bofetada, 8, cmdtext);
    dcmd(congelar, 8, cmdtext);
    dcmd(punicoes, 8, cmdtext);
    dcmd(admincam, 8, cmdtext);
    dcmd(divorcio, 8, cmdtext);
    dcmd(padrinho, 8, cmdtext);
    dcmd(sairfila, 8, cmdtext);
    dcmd(setchamp, 8, cmdtext);
    dcmd(boxstats, 8, cmdtext);
    dcmd(contagem, 8, cmdtext);
    dcmd(preparar, 8, cmdtext);
    dcmd(preparos, 8, cmdtext);
    dcmd(licencas, 8, cmdtext);
    dcmd(revistar, 8, cmdtext);
    dcmd(atentado, 8, cmdtext);
    dcmd(disfarce, 8, cmdtext);
    dcmd(cancelar, 8, cmdtext);
    dcmd(libertar, 8, cmdtext);
    dcmd(conserto, 8, cmdtext);
    dcmd(noticias, 8, cmdtext);
    dcmd(avisados, 8, cmdtext);
    dcmd(multados, 8, cmdtext);
    dcmd(contrato, 8, cmdtext);
    dcmd(capacete, 8, cmdtext);
    dcmd(descasar, 8, cmdtext);
    dcmd(verarmas, 8, cmdtext);
    dcmd(minhaorg, 8, cmdtext);
    dcmd(fakekill, 8, cmdtext);
    dcmd(potencia, 8, cmdtext);
    dcmd(doadores, 8, cmdtext);
    dcmd(skillall, 8, cmdtext);
    dcmd(addspawn, 8, cmdtext);
    dcmd(vertodos, 8, cmdtext);
    dcmd(desbugar, 8, cmdtext);
    dcmd(ccasaall, 8, cmdtext);

    dcmd(mudarnome, 9, cmdtext);
    dcmd(sairconce, 9, cmdtext);
    dcmd(rcorrente, 9, cmdtext);
    dcmd(campanhia, 9, cmdtext);
    dcmd(atualizar, 9, cmdtext);
    dcmd(darchaves, 9, cmdtext);
    dcmd(desalugar, 9, cmdtext);
    dcmd(asellsbiz, 9, cmdtext);
    dcmd(roverdose, 9, cmdtext);
    dcmd(ativarsms, 9, cmdtext);
    dcmd(tirarprof, 9, cmdtext);
    dcmd(novidades, 9, cmdtext);
    dcmd(darcargo2, 9, cmdtext);
    dcmd(pararanim, 9, cmdtext);
    dcmd(licenciar, 9, cmdtext);
    dcmd(setartaxa, 9, cmdtext);
    dcmd(apreender, 9, cmdtext);
    dcmd(bafometro, 9, cmdtext);
    dcmd(abastecer, 9, cmdtext);
    dcmd(pegararma, 9, cmdtext);
    dcmd(encontrar, 9, cmdtext);
    dcmd(checarcap, 9, cmdtext);
    dcmd(tacarfogo, 9, cmdtext);
    dcmd(darenigma, 9, cmdtext);
    dcmd(veravisos, 9, cmdtext);
    dcmd(cobertura, 9, cmdtext);
    dcmd(tirarhosp, 9, cmdtext);

    dcmd(mudarsenha, 10, cmdtext);
    dcmd(tirarbangu, 10, cmdtext);
    dcmd(pagarmulta, 10, cmdtext);
    dcmd(localspawn, 10, cmdtext);
    dcmd(tcorrentes, 10, cmdtext);
    dcmd(comerpizza, 10, cmdtext);
    dcmd(trocarskin, 10, cmdtext);
    dcmd(removergps, 10, cmdtext);
    dcmd(minhaficha, 10, cmdtext);
    dcmd(asellhouse, 10, cmdtext);
    dcmd(vendercasa, 10, cmdtext);
    dcmd(houseworld, 10, cmdtext);
    dcmd(tirarsocio, 10, cmdtext);
    dcmd(ouvirtodos, 10, cmdtext);
    dcmd(portamalas, 10, cmdtext);
    dcmd(pedirconta, 10, cmdtext);
    dcmd(pararbeber, 10, cmdtext);
    dcmd(pararfumar, 10, cmdtext);
    dcmd(limparchat, 10, cmdtext);
    dcmd(autoescola, 10, cmdtext);
    dcmd(forcedrive, 10, cmdtext);
    dcmd(abrirteste, 10, cmdtext);
    dcmd(pegarcarro, 10, cmdtext);
    dcmd(tirararmas, 10, cmdtext);
    dcmd(tiraraviso, 10, cmdtext);
    dcmd(comunidade, 10, cmdtext);
    dcmd(daremprego, 10, cmdtext);
    dcmd(habilidade, 10, cmdtext);
    dcmd(carrobomba, 10, cmdtext);
    dcmd(distintivo, 10, cmdtext);
    dcmd(sequestrar, 10, cmdtext);
    dcmd(desalgemar, 10, cmdtext);
    dcmd(usardrogas, 10, cmdtext);
    dcmd(procurados, 10, cmdtext);
    dcmd(desmanchar, 10, cmdtext);
    dcmd(alugarcasa, 10, cmdtext);
    dcmd(limparvaga, 10, cmdtext);
    dcmd(resetararq, 10, cmdtext);
    dcmd(candidatos, 10, cmdtext);
    dcmd(comunicado, 10, cmdtext);
    dcmd(mudarcarro, 10, cmdtext);
    dcmd(editarsbiz, 10, cmdtext);

    dcmd(plantardina, 11, cmdtext);
    dcmd(venderpizza, 11, cmdtext);
    dcmd(comprararma, 11, cmdtext);
    dcmd(desabilitar, 11, cmdtext);
    dcmd(batercartao, 11, cmdtext);
    dcmd(comprarcasa, 11, cmdtext);
    dcmd(alugarcarro, 11, cmdtext);
    dcmd(venderprods, 11, cmdtext);
    dcmd(empresanome, 11, cmdtext);
    dcmd(daradminirc, 11, cmdtext);
    dcmd(abrirevento, 11, cmdtext);
    dcmd(ultimocarro, 11, cmdtext);
    dcmd(dardinheiro, 11, cmdtext);
    dcmd(descongelar, 11, cmdtext);
    dcmd(atirartodos, 11, cmdtext);
    dcmd(contrabando, 11, cmdtext);
    dcmd(venderarmas, 11, cmdtext);
    dcmd(soltarrefem, 11, cmdtext);
    dcmd(desempregar, 11, cmdtext);
    dcmd(checarcinto, 11, cmdtext);
    dcmd(expulsaroff, 11, cmdtext);
    dcmd(coordenadas, 11, cmdtext);
    dcmd(apreendidos, 11, cmdtext);

    dcmd(comprarcarro, 12, cmdtext);
    dcmd(pularveiculo, 12, cmdtext);
    dcmd(corcarrocasa, 12, cmdtext);
    dcmd(liberarcarro, 12, cmdtext);
    dcmd(carroalugado, 12, cmdtext);
    dcmd(trocarchaves, 12, cmdtext);
    dcmd(aluguelcusto, 12, cmdtext);
    dcmd(enxotartodos, 12, cmdtext);
    dcmd(comprarprods, 12, cmdtext);
    dcmd(dadosempresa, 12, cmdtext);
    dcmd(empresasacar, 12, cmdtext);
    dcmd(tiraremprego, 12, cmdtext);
    dcmd(pegaremprego, 12, cmdtext);
    dcmd(dirigircarro, 12, cmdtext);
    dcmd(abastecerveh, 12, cmdtext);
    dcmd(salvarcontas, 12, cmdtext);
    dcmd(plantarbomba, 12, cmdtext);
    dcmd(liberarrefem, 12, cmdtext);
    dcmd(venderdrogas, 12, cmdtext);
    dcmd(resetarconta, 12, cmdtext);

    dcmd(addentradabiz, 13, cmdtext);
    dcmd(adquirirnivel, 13, cmdtext);
    dcmd(arrombarporta, 13, cmdtext);
    dcmd(atualizarcasa, 13, cmdtext);
    dcmd(venderempresa, 13, cmdtext);
    dcmd(liberardrogas, 13, cmdtext);
    dcmd(revistararmas, 13, cmdtext);
    //dcmd(batercarteira, 13, cmdtext);
    dcmd(abastecimento, 13, cmdtext);
    dcmd(tirarlideroff, 13, cmdtext);
    dcmd(editarmaxpbiz, 13, cmdtext);

    dcmd(addentradasbiz, 14, cmdtext);
    dcmd(atualizarcarro, 14, cmdtext);
    dcmd(apreendercarro, 14, cmdtext);
    dcmd(desalugarcarro, 14, cmdtext);
    dcmd(mudarcarrocasa, 14, cmdtext);
    dcmd(comprarempresa, 14, cmdtext);
    dcmd(iniciarloteria, 14, cmdtext);
    dcmd(limparfichaadm, 14, cmdtext);
    dcmd(licenciartodas, 14, cmdtext);
    dcmd(abastecercarro, 14, cmdtext);
    dcmd(reforcoretirar, 14, cmdtext);
    dcmd(reforcoretirar, 14, cmdtext);
    dcmd(addentradabiz2, 14, cmdtext);
    dcmd(editarmaxpsbiz, 14, cmdtext);

    dcmd(addentradahouse, 15, cmdtext);
    dcmd(retirarbarreira, 15, cmdtext);
    dcmd(redefinirpontos, 15, cmdtext);
    dcmd(mostrarlicensas, 15, cmdtext);

    dcmd(encerrarpergunta, 16, cmdtext);
    dcmd(empresadepositar, 16, cmdtext);
    dcmd(liberarmateriais, 16, cmdtext);
    dcmd(retirarbarreiras, 16, cmdtext);
#endif
    new string[128];
    format(string,128,"[ERRO] O comando %s nгo й vбlido. Digite /ajuda para mais informaзхes.", cmdtext);
    SendClientMessage(playerid, COLOR_RED, string);
    return 1;
}
E tem os proprios comandos,irei dar um Exemplo de comando,o retirarbarreiras,que й o ultimo comando ali de cima

pawn Код:
dcmd_rbrs(playerid, params[])
    {
        return dcmd_retirarbarreiras(playerid, params);
    }

    dcmd_retirarbarreiras(playerid, params[])
    {
        #pragma unused params
        if(Player[playerid][pRank] >= 3 && Player[playerid][pMember] || Player[playerid][pLeader] == TEAM_MUNICIPAL ||
        Player[playerid][pMember] == TEAM_PF || Player[playerid][pLeader] == TEAM_PF ||
        Player[playerid][pMember] == TEAM_PM || Player[playerid][pLeader] == TEAM_PM ||
        Player[playerid][pMember] == TEAM_BOPE || Player[playerid][pLeader] == TEAM_BOPE ||
        Player[playerid][pAdmin] >= 5)
        {
            for(new i=0; i<10; i++)
                DestroyDynamicObject(barreiraobj[i]);

            for(new i = 0; i <= HighestID; i++)
                Player[playerid][pRoadblock] = -1;

            format(thestring, sizeof(thestring), "HQ: TODAS as barreiras foram retiradas por %s.", Player[playerid][pName]);
            SendTeamMessage(1, COLOR_PM, thestring);
            SendTeamMessage(2, COLOR_PM, thestring);
            SendTeamMessage(3, COLOR_PM, thestring);
            SendTeamMessage(14, COLOR_PM, thestring);
            SendTeamMessage(21, COLOR_PM, thestring);

        }
        else
            SendClientMessage(playerid, COLOR_RED, "[ERRO] Vocк precisa ser cargo 3+ ou Lider para usar este comando.");

        return 1;
    }
como transformo o /animes para deixar no meu GM?
Reply
#7

.-.' Cara se baixa um GM qualquer e quer editar?

Fica dificil assim...

Vб estudar o seu [GM] primeiro pra editar...
Reply
#8

Quote:
Originally Posted by davi54723
Посмотреть сообщение
Seu [GM] й Strcmp ? e o [FS] й Zcmd ?

Se for vai dar conflito mesmo...
o Comando da FS й
pawn Код:
#include <zcmd>   existe essa tal inc no topo

CMD:animes(playerid, params[])
 {
    SendClientMessage(playerid, COLOR_RED, "|=======================[Animes]=======================|");
    SendClientMessage(playerid, COLOR_RED, "| Traduzido e Modificado Por: Junior                   |");
    SendClientMessage(playerid, COLOR_RED, "|=======================[Animes]=======================|");
    SendClientMessage(playerid, COLOR_RED, "| /Handsup /cellin /cellout /bebado /crossarms /deitar |");
    SendClientMessage(playerid, COLOR_RED, "| /vomitar /overdose /gro /falar /sentar /dance /mijar |");
    SendClientMessage(playerid, COLOR_RED, "| /fumar                                               |");
    SendClientMessage(playerid, COLOR_RED, "|=======================[Animes]=======================|");
    return 1;
}
Os comandos do Meu gm sгo (exemplo)
pawn Код:
dcmd_convidar(playerid, params[])
    {
        if(Player[playerid][pLeader] == 0 && Player[playerid][pAdmin] < 6)
            return SendClientMessage(playerid, COLOR_RED, "[ERRO] Vocк nгo й um lнder.");

        new tmp[24], idx; tmp = strtok(params, idx);

        if(!strlen(tmp))
            return SendClientMessage(playerid, COLOR_GREY, "[USO] /convidar [id/nick]");

        new giveid = ReturnUser(tmp);
        if(IsPlayerConnected(giveid))
        {
            if(giveid != INVALID_PLAYER_ID)
            {
                if(GetPlayerOrg(giveid) == 0)
                {
                    if(Player[giveid][pLevel] > 2)
                    {
                        format(thestring, sizeof(thestring), "Vocк recebeu um convite de %s para entrar na organizaзгo '%s' (digite /aceitar convite) para aceitar.",Player[playerid][pName], OrgsNames[Player[playerid][pLeader]]);
                        SendClientMessage(giveid, COLOR_LIGHTBLUE, thestring);
                        format(thestring, sizeof(thestring), "%s convidou %s para sua ORG '%s'", Player[playerid][pName], Player[giveid][pName], OrgsNames[GetPlayerOrg(playerid)]);
                        WriteLog("orgs", thestring);
                        SendClientMessage(playerid, COLOR_LIGHTBLUE, thestring);
                        Invite[giveid] = 1;
                        InviteOffer[giveid] = playerid;
                        InviteJob[giveid] = Player[playerid][pLeader];
                    }
                    else
                        return SendClientMessage(playerid, COLOR_RED, "[ERRO] O jogador nгo tem nнvel suficiente.");
                }
                else
                    return SendClientMessage(playerid, COLOR_RED, "[ERRO] O jogador jб tem uma ORG.");
            }
        }
Reply
#9

pawn Код:
dcmd(animes, 6, cmdtext);
pawn Код:
dcmd_animes(playerid, params[])
 {
    SendClientMessage(playerid, COLOR_RED, "|=======================[Animes]=======================|");
    SendClientMessage(playerid, COLOR_RED, "| Traduzido e Modificado Por: Junior                   |");
    SendClientMessage(playerid, COLOR_RED, "|=======================[Animes]=======================|");
    SendClientMessage(playerid, COLOR_RED, "| /Handsup /cellin /cellout /bebado /crossarms /deitar |");
    SendClientMessage(playerid, COLOR_RED, "| /vomitar /overdose /gro /falar /sentar /dance /mijar |");
    SendClientMessage(playerid, COLOR_RED, "| /fumar                                               |");
    SendClientMessage(playerid, COLOR_RED, "|=======================[Animes]=======================|");
    return 1;
}
Se num souber o resto se mata vey .-.
Reply
#10

fiz isso,Nao testei ainda,mais irei testar,feito isso agora preciso Criar os comandos de /handsup /sentar que diz no comando /animes,que me ajudou a criar,Na FS ja tem esses comando mais esta tudo do jeito que esta na FS
pawn Код:
CMD:exemplo(playerid, params[])
Me ajude a converter esses comando para os comandos do GM
Separei os comandos que irei usar,pois os outros eu desativei,agora so colocar esses comando que eu vou usar no GM mais primeiro terei que adaptalo ao GM,Como farei isso?Segue abaixo os Comandos
pawn Код:
//Handsup

CMD:handsup(playerid)
    {
        ApplyAnimation(playerid, "ROB_BANK","SHP_HandsUp_Scr", 4.0, 0, 1, 1, 1, 0);
        return 1;
    }

//cellin

    CMD:cellin(playerid)
    {
        SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USECELLPHONE);
        return 1;
    }

//cellout

    CMD:cellout(playerid)
    {
        SetPlayerSpecialAction(playerid,SPECIAL_ACTION_STOPUSECELLPHONE);
        return 1;
    }

//bebado

    CMD:bebado(playerid)
    {
        ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1);
        return 1;
    }

//Crossarms

   
    CMD:crossarms(playerid)
    {
        ApplyAnimation(playerid, "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1);
        return 1;
    }

//Deitar

    CMD:deitar(playerid)
    {
        ApplyAnimation(playerid,"BEACH", "bather", 4.0, 1, 0, 0, 0, 0);
        return 1;
    }

//Vomitar

        CMD:vomitar(playerid)
    {
        ApplyAnimation(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0);
        return 1;
    }

//overdose

        CMD:overdose(playerid)
    {
        ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
        return 1;
    }

//Gro

    CMD:gro(playerid)
    {
        ApplyAnimation(playerid,"BEACH", "ParkSit_M_loop", 4.0, 1, 0, 0, 0, 0); // Sit
        return 1;
    }

//falar

    CMD:falar(playerid)
    {
        ApplyAnimation(playerid,"PED","IDLE_CHAT",4.0,1,0,0,1,1);
        return 1;
    }

//sentar

    CMD:sentar(playerid)
    {
        ApplyAnimation(playerid,"PED","SEAT_down",4.1,0,1,1,1,0);
        return 1;
    }

//mijar

        CMD:mijar(playerid)
    {
         SetPlayerSpecialAction(playerid, SPECIAL_ACTION_PISSING);
         return 1;
    }

//fumar

        CMD:fumar(playerid, params[])
    {
        if(sscanf(params, "s", anims))
        {
            SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /fumar [1-4]");
        }
        else
        {
            if(strcmp(anims, "0", true) == 0)
            {
                SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /fumar [1-4]");
            }
            if(strcmp(anims, "1", true) == 0)
            {
                ApplyAnimation(playerid,"SMOKING", "F_smklean_loop", 4.0, 1, 0, 0, 0, 0);
            }
            if(strcmp(anims, "2", true) == 0)
            {
                ApplyAnimation(playerid,"SMOKING", "M_smklean_loop", 4.0, 1, 0, 0, 0, 0);
            }
            if(strcmp(anims, "3", true) == 0)
            {
                ApplyAnimation(playerid,"SMOKING","M_smkstnd_loop", 4.0, 1, 0, 0, 0, 0);
            }
            if(strcmp(anims, "4", true) == 0)
            {
                ApplyAnimation(playerid,"SMOKING","M_smk_out", 4.0, 1, 0, 0, 0, 0);
            }
        }
        return 1;
    }

//dance

    CMD:dance(playerid, params[])
    {
        if(sscanf(params, "s", anims))
        {
            SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /dance [1-3]");
        }
        else
        {
            if(strcmp(anims, "1", true) == 0)
            {
                SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE1);
            }
            if(strcmp(anims, "2", true) == 0)
            {
                SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE2);
            }
            if(strcmp(anims, "3", true) == 0)
            {
                SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE3);
            }
        }
        return 1;
    }
So trocar o cmd por dcmd_
E no topo colocar dcmd

Assim?
pawn Код:
dcmd(handsup, 7, cmdtext);

//===================================

dcmd_handsup(playerid, params[])
    {
        ApplyAnimation(playerid, "ROB_BANK","SHP_HandsUp_Scr", 4.0, 0, 1, 1, 1, 0);
        return 1;
    }
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)