[AYUDA] Con un CMD
#1

Bueno Miren lo que pasa es lo siguiente:
Este CMD Funciona Bien:

pawn Код:
dcmd_rostros(playerid, params[]){
    if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT){
        if(!sscanf(params, "d", params[0]))
        {
            switch(params[0])
            {
                case 1: LoopingAnim(playerid,"PED","facanger",3.0,1,1,1,1,1);
                case 2: LoopingAnim(playerid,"PED","facgum",3.0,1,1,1,1,1);
                case 3: LoopingAnim(playerid,"PED","facsurp",3.0,1,1,1,1,1);
                case 4: LoopingAnim(playerid,"PED","facsurpm",3.0,1,1,1,1,1);
                case 5: LoopingAnim(playerid,"PED","factalk",3.0,1,1,1,1,1);
                case 6: LoopingAnim(playerid,"PED","facurios",3.0,1,1,1,1,1);
                default: Message(playerid, COLOR_USAGE, "Utiliza /Rostros [1-6]");
            }
        } else Message(playerid, COLOR_USAGE, "Utiliza /Rostros [1-6]");
    }return 1;
}
Este cmd que les mostrare No Anda:

pawn Код:
dcmd_stance(playerid, params[]){
if(GetPlayerState(playerid) != PLAYER_STATE_ONFOOT){
if(!sscanf(params, "d", params[0]))
{
switch (params[0])
{
case 1: LoopingAnim(playerid,"DEALER","DEALER_IDLE",4.0,1,0,0,0,0);
case 2: LoopingAnim(playerid,"PED","WOMAN_IDLESTANCE",4.0,1,0,0,0,0);
case 3: LoopingAnim(playerid,"PED","CAR_HOOKERTALK",4.0,1,0,0,0,0);
case 4: LoopingAnim(playerid,"FAT","FatIdle",4.0,1,0,0,0,0);
case 5: LoopingAnim(playerid,"WUZI","Wuzi_Stand_Loop",4.0,1,0,0,0,0);
case 6: LoopingAnim(playerid,"GRAVEYARD","mrnf_loop",4.0,1,0,0,0,0);
case 7: LoopingAnim(playerid,"GRAVEYARD","mrnm_loop",4.0,1,0,0,0,0);
case 8: LoopingAnim(playerid,"GRAVEYARD","prst_loopa",4.0,1,0,0,0,0);
case 9: LoopingAnim(playerid,"PED","idlestance_fat",4.0,1,0,0,0,0);
case 10:LoopingAnim(playerid,"PED","idlestance_old",4.0,1,0,0,0,0);
case 11:LoopingAnim(playerid,"PED","turn_l",4.0,1,0,0,0,0);
case 12:LoopingAnim(playerid,"BAR","Barcustom_loop",4.0,1,0,0,0,0);
case 13:LoopingAnim(playerid,"BAR","Barserve_loop",4.0,1,0,0,0,0);
default: SendClientMessage(playerid,COLOR_USAGE,"Utiliza: /stance [1-13]");
            }
        } else Message(playerid, COLOR_USAGE, "Utiliza /stance [1-13]");
    }return 1;
}
Que Puede ser q un CMD Si ande y el otro no? Eso q no hay ni diferencia espero ayudas.

PD: Hay varios CMD Que no me andan(Animaciones) Y Algunas si pero no sale Unkwnow O algo asi es como que lo lee pero no hace la funcion ni siquiera dice Utiliza: /Stance o etc jaja.
Reply
#2

Necesito Ayuda Urgente Sobre Esto si alguien no entendio lo que quise Decir Me lo dice Plis.

EDIT: Ise los DCMD En zcmd en un FS Y Ahora me andan Perfecto.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)