Help Animations Dont Work !!!
#1

Here is The Code :
pawn Код:
ApplyAnimation(playerid, anims[idx][lib], anims[idx][anim], 4.1, 0, 1, 1, 1, 0, 1);
And Its Under :
OnPlayerCommandPerformed

Help ?
Reply
#2

Please Help,
Reply
#3

Please, Fuck This
Reply
#4

Show the full command and elaborate on your question please.
Reply
#5

pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
        if(success)
        return 1;

        strdel(cmdtext, 0, 1);
        for(new idx=1; idx<MAX; idx++)
        {
            if(anims[idx][exist] == 1)
            {
                if(!strcmp(anims[idx][command], cmdtext, true))
                {
                    ApplyAnimation(playerid, anims[idx][lib], anims[idx][anim], 4.1, 0, 1, 1, 1, 0, 1);
                    ApplyAnimation(playerid, anims[idx][lib], anims[idx][anim], 4.1, 0, 1, 1, 1, 0, 1);
                    SendClientMessage(playerid, COLOR_GREY, "The Animation Has Been Started, Press RMB To Stop It");
                    return 1;
                }
            }
        }
        return 0;
}
Here
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)