Tests with amputating legs
This commit is contained in:
24
media/lua/client/TOC_Animations.lua
Normal file
24
media/lua/client/TOC_Animations.lua
Normal file
@@ -0,0 +1,24 @@
|
||||
-- Thanks to Glytcher and Matías N. Salas for helping out with this
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function SetMissingFootAnimation(check)
|
||||
|
||||
|
||||
local player = getPlayer()
|
||||
|
||||
if check then
|
||||
player:setVariable("IsCrawling", "true")
|
||||
else
|
||||
player:setVariable("IsCrawling", "false")
|
||||
end
|
||||
|
||||
-- if isClient() then
|
||||
-- sendClientCommand("TOC", "SetCrawlAnimation", {})
|
||||
-- end
|
||||
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user