Animation help
#1

I have a front fall command to get on the ground when cops tell you but it doesn't appear to other players please help
PHP код:
    CMD:frontfall(playeridparams[])
    {
     
ApplyAnimation(playerid"PED""KO_shot_front",4.1,0,1,1,1,1);
     return 
1;
     }
     
CMD:stopanim(playeridparams[])
    {
     
ClearAnimations(playerid);
     return 
1;
     } 
Reply
#2

Try to use it multiple times.. That can be the answer Just need to do it multiple times I had the same things...
Reply
#3

Add this under OnPlayerSpawn:

pawn Код:
PreloadAnimLib(playerid,"BOMBER");
        PreloadAnimLib(playerid,"RAPPING");
        PreloadAnimLib(playerid,"SHOP");
        PreloadAnimLib(playerid,"BEACH");
        PreloadAnimLib(playerid,"SMOKING");
        PreloadAnimLib(playerid,"FOOD");
        PreloadAnimLib(playerid,"ON_LOOKERS");
        PreloadAnimLib(playerid,"DEALER");
        PreloadAnimLib(playerid,"CRACK");
        PreloadAnimLib(playerid,"CARRY");
        PreloadAnimLib(playerid,"COP_AMBIENT");
        PreloadAnimLib(playerid,"PARK");
        PreloadAnimLib(playerid,"INT_HOUSE");
        PreloadAnimLib(playerid,"FOOD" );
PreloadAnimLib(playerid,"PED" );
Add this function at the bottom of your script:

pawn Код:
stock PreloadAnimLib(playerid, animlib[])
   return ApplyAnimation(playerid,animlib,"NULL",0.0,0,0,0,0,0);
Reply
#4

that doesnt work it wont let me run the server now
Reply
#5

After some tweaking of the indentation I fixed the server
Reply
#6

Stop anim doesnt work though.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)