I need a name of animation
#1

Can anyone say me name of animation when player choking, when I spray him he will chok, so I need the name of that animation, thanks!
Reply
#2

bump

anyone?
Reply
#3

Here:

pawn Код:
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_NONE);
ApplyAnimation(playerid,"ped","gas_cwr",4.1,0,0,0,0,0,0);
I use it for /cry on my server.
Reply
#4

thank a lot man but how can I set duration of animation 5 minutes, tried setting last parameter to e.g.5000 but than animation doesn't work :S
Reply
#5

https://sampwiki.blast.hk/wiki/ApplyAnimation

Try reading from that, it tells you each parameter and which one loops the anim non-stop.
Reply
#6

I put parameter opt5 on 5000 but anim doesn't work
Reply
#7

Quote:
Originally Posted by System64
Посмотреть сообщение
thank a lot man but how can I set duration of animation 5 minutes, tried setting last parameter to e.g.5000 but than animation doesn't work :S
It should solve your problem .


I only changed the fifth parameter to 1, because it activates the function's loop :


pawn Код:
ApplyAnimation(playerid,"ped","gas_cwr",4.1,1,0,0,0,300000);//300000 miliseconds = 5 minutes

The code was tested, and it's working .


I hope that i have helped .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)