Animations Help
#1

well i want to know why some time it does not shows animations and can you tell me id of ground kick
Reply
#2

The first time an animation library is used, it won't work. You have to 'pre-load' the animation library by playing an animation from the library first, under OnPlayerConnect generally.

pawn Код:
ApplyAnimation(playerid, "ANIMLIB", "null", 0.0, 0, 0, 0, 0, 0);
This won't play an actual animation (because the animation name is 'null'), but it will pre-load the library so animations from said library can be used in the future.


'Ground kick' is not very descriptive. Do you mean the 'stomping' animation that is played when a player stomps on a dead player?

pawn Код:
ApplyAnimation(playerid, "PED", "FightA_G",4.1,0,1,1,0,0);
Reply
#3

nah i mean it works some time and sometime it don't
Reply
#4

Show the code please.
Reply
#5

ApplyAnimation(playerid,"DILDO","DILDO_G",4.0,0,0, 0,0,0);
Reply
#6

pawn Код:
ApplyAnimation(playerid, "ANIMLIB", "null", 0.0, 0, 0, 0, 0, 0);
Reply
#7

Quote:
Originally Posted by Lloyde
Посмотреть сообщение
pawn Код:
ApplyAnimation(playerid, "ANIMLIB", "null", 0.0, 0, 0, 0, 0, 0);
what is it
Reply
#8

Quote:
Originally Posted by AroseKhanNaizi
Посмотреть сообщение
what is it
Read my post. I explained this.
Reply
#9

Quote:
Originally Posted by MP2
Посмотреть сообщение
Read my post. I explained this.
Код:
stock PreloadAnimLib(playerid,animlib[])//None
{
    ApplyAnimation(playerid,animlib,"null",0,0,0,0,0,1);
    return 1;
}
see i got this
and on player spwan
Код:
    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" );
Reply
#10

You're not pre-loading the DILDO library, which is the one you want to use.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)