Anims
#6

Quote:
Originally Posted by GtasaPoliceModz
Посмотреть сообщение
Код:
OnPlayerCommand

    if(strcmp(cmdtext, "/walkdrunk", true) == 0)
    {
    ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1,1);
    return 1;
    }
    if(strcmp(cmdtext, "/gwalk1", true) == 0)
    {
    ApplyAnimation(playerid,"PED","WALK_gang1 ",4.1,1,1,1,1,1,1);
    return 1;
    }
    if(strcmp(cmdtext, "/gwalk2", true) == 0)
    {
    ApplyAnimation(playerid,"PED","WALK_gang2 ",4.1,1,1,1,1,1,1);
    return 1;
    }
    if(strcmp(cmdtext, "/oldwalk", true) == 0)
    {
    ApplyAnimation(playerid,"PED","WALK_old ",4.1,1,1,1,1,1,1);
    return 1;
    }
    if(strcmp(cmdtext, "/walkarmed", true) == 0)
    {
    ApplyAnimation(playerid,"PED","WALK_armed ",4.1,1,1,1,1,1,1);
    return 1;
    }
    if(strcmp(cmdtext, "/walkciv", true) == 0)
    {
    ApplyAnimation(playerid,"PED","WALK_civi ",4.1,1,1,1,1,1,1);
    return 1;
    }
    return 0;
}
If this didn't work, try using the "ClearAnimations(playerid);" in the begining of each command which stops all the animation and start the one which you want.

-FalconX
Reply


Messages In This Thread
Anims - by Twinki1993 - 25.02.2012, 20:43
Re: Anims - by GtasaPoliceModz - 25.02.2012, 20:46
Re: Anims - by Twinki1993 - 25.02.2012, 20:47
Re: Anims - by GtasaPoliceModz - 25.02.2012, 20:49
Re: Anims - by Twinki1993 - 25.02.2012, 20:50
Re: Anims - by FalconX - 25.02.2012, 20:52
Re: Anims - by Twinki1993 - 25.02.2012, 20:55
Re: Anims - by GtasaPoliceModz - 25.02.2012, 20:58
Re: Anims - by FalconX - 25.02.2012, 20:59
Re: Anims - by Twinki1993 - 25.02.2012, 20:59

Forum Jump:


Users browsing this thread: 3 Guest(s)