How To Add Player Models To POINTSHOP on a TTT Server (SteamCMD) [Gmod]
In today's video, I cover the popular gmod addon "Pointshop". I explain how to add player models to your gmod server with halo 3 model found below. Find links to all downloads and code below. Hope this helps!
**CONSTANT PROBLEMS**
If your model is not showing up, always showing an ERROR sign or somehow you cant purchase it. These are your problems:
1: Your code has an error somewhere! (look in the command prompt for the lua line that has an error!
2: The model is not compatible with TTT
3: You haven't downloaded the files via FastDL or file location is wrong (relates back to lua code)
My Channel: http://www.youtube.com/theslammer92
My Twitter: http://www.twitter.com/slammy92
Fox Warrior:
http://fox-warrior.com/RAG/downloads.html
Halo 3 Model:
http://steamcommunity.com/sharedfiles/filedetails/?id=132286705
Steam Subscription Converter (GmodConverter):
http://www.4shared.com/file/U6CfLOEv/gmadconv.html
POINTSHOP PLAYER MODEL CODE:
ITEM.Name = 'Model Name Goes here'
ITEM.Price = 250
ITEM.Model = 'Model File Location Goes Here'
function ITEM:OnEquip(ply, modifications)
if not ply._OldModel then
ply._OldModel = ply:GetModel()
end
timer.Simple(1, function() ply:SetModel(self.Model) end)
end
function ITEM:OnHolster(ply)
if ply._OldModel then
ply:SetModel(ply._OldModel)
end
end
PLAYER MODEL LUA CODE:
if (SERVER) then
player_manager.AddValidModel( "Model Name Goes Here", "Model File Location Goes Here" )
AddCSLuaFile( "CallThisAnything.lua" )
end
list.Set( "PlayerOptionsModel", "Model Name Goes Here", "Model Location Goes Here" )
STOP PLAYER MODEL RESET AT BEGINNING OF ROUND:
Go to gamemodes/terrortown/gamemode/player_ext.lua
Scroll down to line 271, either delete it or hide it by adding "//" at the beginning of the code line. now your models work after the round starts.
Other Videos By SlamJam
Other Statistics
Garry's Mod Statistics For SlamJam
At present, SlamJam has 207,843 views spread across 4 videos for Garry's Mod, and less than an hour worth of Garry's Mod videos were uploaded to his channel. This is less than 0.37% of the total video content that SlamJam has uploaded to YouTube.