Reply To: Animation for human entity

Bank Notes: 600
December 17, 2011 at 6:08 pm #8975

The numbers indicate the delay length between animations. 

For example this animation is 18 seconds long

 

DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_man_smoke_stat_b", false)end,{l_1_0},18000,1,false

 

After 18 seconds the next animation will play.

 

DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_man_smoke_stat_c", false)end,{l_1_0},22000,1,false)

 

That animation is 22 seconds long.

 

 

These are delay in milliseconds 

This function allows you to execute a command after a certain time

 

DelayBuffer:Insert(function(l_1_0)….end,{l_1_0},22000,1,false)

 

and the “1” for repeat the commande

Thanks for explanation.

 

And:

Why other anims are hang for 5-10 seconds, when I play them?