ApplyAnimation
#1

this animation dont stop when i use ClearAnimations(playerid);

pawn Код:
ApplyAnimation(playerid, "BASEBALL", "BAT_PART", 4.1, 1, 1, 1, 1, 1, 1);
i want that anumation to run untill i use "ClearAnimations(playerid);" but "ClearAnimations(playerid);" dont work on it

pawn Код:
CMD:run(playerid,params[])
{
    ApplyAnimation(playerid, "BASEBALL", "BAT_PART", 4.1, 1, 1, 1, 1, 1, 1);
    return 1;
}

CMD:stop(playerid,params[])
{
    ClearAnimations(playerid);
    return 1;
}
Reply
#2

Try this:
pawn Код:
CMD:stop(playerid,params[])
{
    ClearAnimations(playerid);
    ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.0, 0, 0, 0, 0, 0);
    return 1;
}
Reply
#3

dont work, the fist anim still run
Reply
#4

Try with this

Код:
CMD:stop(playerid,params[])
{
    TogglePlayerControllable(playerid,true);
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)