douse gasolie

This commit is contained in:
Fesiug 2021-05-25 08:41:44 -04:00
parent ae9c264146
commit 1e5c73a200

View File

@ -284,9 +284,13 @@ hook.Add( "PlayerSetHandsModel", "lf_fe_hands_select2", function( ply, ent )
local info = player_manager.TranslatePlayerHands( ply:GetInfo( "cl_playerhands" ) )
if ( info ) then
ent:SetModel( info.model )
ent:SetSkin( info.skin )
ent:SetBodyGroups( info.body )
timer.Simple( 0, function()
if IsValid(ent) then
ent:SetModel( info.model )
ent:SetSkin( info.skin )
ent:SetBodyGroups( info.body )
end
end)
end
end
end )