Problem with Animation
#1

Good to know why den.Hotel animation on my server only runs only after I run this animation before.for example I type

Код:
ApplyAnimation (playerid, "BOMBER", "BOM_Plant", 2.1,0,0,0,0,3600);
then neither of which does not happen and if this function is triggered with no time - all the same worked.And why some animation work only on a certain player and others do not see that it animates. Please clarify
Reply
#2

I heard that need load lib of anim when player spaw how to do it?
Reply
#3

Pre-load animation.
Код:
public OnPlayerSpawn(playerid)
{
    ApplyAnimation(playerid, "BOMBER", "null", 0.0, 0, 0, 0, 0, 0);
    return 1;
}
ApplyAnimation has one optional parameter. Set it to 1 to force playerid to sync animation with other players.
Код:
ApplyAnimation(playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync)
ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 2.1, 0, 0, 0, 0, 3600, 1);
Reply
#4

Thx your man)

FIX
Reply


Forum Jump:


Users browsing this thread: