animation problem
#1

I'm trying to set an animation to a player, but it stops very fast.
How can I fix this?

Код:
ApplyAnimation(playerid, "PED", "Gun_2_IDLE", 4.1, 0, 0, 0, 0, 0);
Video:
https://www.youtube.com/watch?v=nSQ6VaF9tKA
Reply
#2

You should try this:

PHP код:
ApplyAnimation(playerid"PED""Gun_2_IDLE"4.100010); 
Or if you want play it for X seconds:

PHP код:
ApplyAnimation(playerid"PED""Gun_2_IDLE"4.10000X*1000); 
Note: dude , dont forget rep
Reply
#3

Quote:
Originally Posted by taktaz
Посмотреть сообщение
You should try this:

PHP код:
ApplyAnimation(playerid"PED""Gun_2_IDLE"4.100010); 
Or if you want play it for X seconds:

PHP код:
ApplyAnimation(playerid"PED""Gun_2_IDLE"4.10000X*1000); 
Note: dude , dont forget rep
I've tried this ApplyAnimation(playerid, "PED", "Gun_2_IDLE", 4.1, 0, 0, 0, 0, 5*1000);

But now is reloading the anim over and over and over again
video:

https://*********/thVXr7adpwM
Reply
#4

Show me a few lines of your code where applyanimation is

Edit: also you can change its speed from 4.1 to 1.5 or less
Reply
#5

Quote:
Originally Posted by taktaz
Посмотреть сообщение
Show me a few lines of your code where applyanimation is
Код:
TogglePlayerControllable(playerid, false);
SetPlayerAttachedObject(playerid, 8, 18669, 6, -0.040000, 0.560000, -0.853000, 16.999996, -4.699997, 102.799980, 1.000000, 1.000000, 1.000000);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE);
ApplyAnimation(playerid, "PED", "Gun_2_IDLE", 4.1, 0, 0, 0, 0, 5*1000);
Reply
#6

also you can change its speed from 4.1 to 1.5 or less
Reply
#7

Quote:
Originally Posted by taktaz
Посмотреть сообщение
also you can change its speed from 4.1 to 1.5 or less
Solved, thanks so much!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)