Hi everyone,
I am here asking for help for a project that I have been working on for a while.
What I currently am trying to do is to force the "prop" models to load a custom pre-defined model over the Kliener model.
What I do know is that in "\garrysmod\gamemodes\prop_hunt\entities\entities\ph_prop\init.lua"
there is a block of code which is called when the "props" spawn.
[QUOTE]// Called when the entity initializes
function ENT:Initialize()
self:SetModel('models/player/kleiner.mdl')
self.health = 100
util.PrecacheModel(player_model)
pl:SetModel(player_model)
end
[/QUOTE]
If I change the "self:SetModel('models/player/kleiner.mdl')" it changes the model that the props show up as.
Now what I am trying to do is have each player have their own specific "prop" model.
I have seen one person do this, and when they do it, it seems like the Kliener model loads then a script loads over it and replaces the model when a specified one.
If someone could help me I would greatly appreciate it.
Thanks in advance!,
Soggy
Sorry, you need to Log In to post a reply to this thread.