Skip to content

Commit

Permalink
Update sh_anims.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
riggs9162 committed Jun 22, 2024
1 parent 5ec46bb commit 0e7710c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gamemode/core/libs/sh_anims.lua
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,10 @@ end
-- @usage ix.anim.GetModelClass("models/police.mdl")
-- > metrocop
function ix.anim.GetModelClass(model)
if (!model) then
return
end

model = string.lower(model)
local class = translations[model]

Expand Down

0 comments on commit 0e7710c

Please sign in to comment.