Trying to change the model of the grenade when thrown. Works when I have the model within my local files however when I remove the file from my computer and try and download from my CSGO server I'm hosting locally, I get the below.
Here's the parts of my code that pertain to the model.
PHP Code:
public OnMapStart()
{
PrecacheModel("models/snowball/snowball.mdl", true);
}
public Grenade_SpawnPost(entity)
{
SetEntityModel(entity, "models/snowball/snowball.mdl");
}
For what it's worth, I have these settings in my server.cfg also:
Code:
sv_pure 0
cl_forcepreload 1
sv_forcepreload 1