How to apply an animation without freezing the player
#1

Title says it all I think I've tried turning the freeze to 0 and didn't work I've also tried to unfreeze the player (TogglePlayerControllable) but it will erase the animation.


Thanks.
Reply
#2

It depends on the animation, What is it ?
Reply
#3

IDLE_CHAT.
Reply
#4

One ways of avoiding the freezing could be by making a sort of stop animation command that will clear all animations and "unfreeze" the player.
Reply
#5

Depends on Animation, if PED-IDLE_CHAT, It semi-freezes the player, look at .ifp files. ( can be browsed with tools from gtamodding.net)
Reply
#6

I meant script-wisely not through my files, I've seen in some servers you can crouch/move while you're doing that animation.

Quote:
Originally Posted by SmithyComp
Посмотреть сообщение
One ways of avoiding the freezing could be by making a sort of stop animation command that will clear all animations and "unfreeze" the player.
I didn't ask how to unfreeze him after that animation is over my question is that he can move by pressing W and crouching while doing that animation.
Reply
#7

------
Reply
#8

Try putting it to -1 instead of 0.


edit: Use a timer to reset animations. ClearAnimations(playerid); didn't work for me, at all, so I came up with this:

pawn Код:
forward EndAnim(playerid);
public EndAnim(playerid) return SetPlayerSkin(playerid, GetPlayerSkin(playerid));
(you can do the same with TogglePlayerControllable)
Reply
#9

------
Reply
#10

------
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)