Reply To: Animation for human entity

Bank Notes: 6,910
December 17, 2011 at 5:22 pm #8970

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

 

 

in fisrt

ply=game.game:GetActivePlayer()

ply:SetControlStyle(enums.ControlStyle.LOCKED)

after 500 milliseconds active the command

ply:AnimPlay(“sc_man_smoke_in”, false)

after 18000 milliseconds active the command

ply:AnimPlay(“sc_man_smoke_stat_b”, false)

after 22000 milliseconds active the command

ply:AnimPlay(“sc_man_smoke_stat_c”, false)

after 29000 milliseconds active the command

ply:AnimPlay(“sc_man_smoke_stat_d”, false)

after 33000 milliseconds active the command

ply:AnimPlay(“sc_man_smoke_out”, false)

after 40000 milliseconds active the command

ply:SetControlStyle(enums.ControlStyle.FREE)

 

 

 

 

Tommy, you were faster