Created
December 3, 2017 15:14
-
-
Save ValentinFunk/3971220047f0760ae7742e188f029551 to your computer and use it in GitHub Desktop.
Playermodel Lua. Put this into garrysmod/lua/autorun/sh_playermodel_list.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AddCSLuaFile() | |
--[[ | |
Follow this template to add playermodels to the picker and make the hands work. | |
You need to make sure that the playermodels are downloaded on the client as well (i.e. FastDL or Workshop Download). | |
This is the template: | |
player_manager.AddValidModel( "<name>", "<player model path>" ) | |
player_manager.AddValidHands( "<name>", "models/weapons/c_arms_cstrike.mdl", 0, "10000000" ) | |
]]-- | |
player_manager.AddValidModel( "hostage01", "models/player/hostage/hostage_01.mdl" ) | |
player_manager.AddValidHands( "hostage01", "models/weapons/c_arms_cstrike.mdl", 0, "10000000" ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment