I need to make player stand with no breathing when he's :Frozen() how can I reach it?
I tried SetCycle, but it doesn't help.
I think overriding TranslateActivity to check if the play is frozen might work
[QUOTE=code_gs;50288050]I think overriding TranslateActivity to check if the play is frozen might work[/QUOTE]
I didn't quite get it.
[CODE]
function GAMEMODE:TranslateActivity( ply, act )
local newact = ply:TranslateWeaponActivity( act )
-- select idle anims if the weapon didn't decide
if ( act == newact ) then
return IdleActivityTranslate[ act ]
end
return newact
end
[/CODE]
What should I do with that to stop animation if player is frozen?
SetCycle or return another act?
return -1 if they're frozen
[QUOTE=code_gs;50289029]return -1 if they're frozen[/QUOTE]
it makes player stand like this:
[IMG]http://s32.postimg.org/8c1lr6fdh/cs_office0002.jpg[/IMG]
Sorry, you need to Log In to post a reply to this thread.