Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Choose the model for hands according to their player model.
- function GM:PlayerSetHandsModel( ply, ent )
- local simplemodel = player_manager.TranslateToPlayerModelName( ply:GetModel() )
- local info = player_manager.TranslatePlayerHands( simplemodel )
- if ( info ) then
- ent:SetModel( info.model )
- ent:SetSkin( info.skin )
- ent:SetBodyGroups( info.body )
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement