mta-resources/[insanity]/insanity-animspeed/client.lua

14 lines
330 B
Lua

local animSpeeds = {
{"CLIMB_jump",1.5},
{"CLIMB_jump_B",1.5},
{"CLIMB_Pull",1.5},
{"CLIMB_Stand",1.5}
}
addEventHandler("onClientPreRender",root,function()
for _,player in pairs(getElementsByType("player")) do
for _,anim in pairs(animSpeeds) do
setPedAnimationSpeed(player,anim[1],anim[2])
end
end
end)