Weapons instant reloading, etc


I am using a VPS to run my new Prop Hunt Garrys mod server but am running in to a issue.

I am 100% sure CSS is mounted as all the props are working,

Whenever I reload most of our guns it is instant and there is no action.
The same thing happens with guns that have a action when shooting. There just is no action.

Any suggestions or help please?

What models do those weapons use?

Custom Models, One example is

SWEP.ViewModel = “models/weapons/Beretta/v_pist_p228.mdl”
SWEP.WorldModel = “models/weapons/Beretta/w_pist_p228.mdl”

Also forgot to mention, when running the server directly from my computer everything works fine.

Do the models exist on your server? I don’t think they do.

Just checked, pretty sure they are there


You are using Linux server, lowercase ALL filepaths. ( So it looks like “/home/steam/gmod/garrysmod/models/weapons/beretta/v_pist_p228.mdl” )

You don’t have to do that in code.

That’s the annoying thing about code. If theres a capital letter in the wrong place it mucks the entire thing up.

It’s not about code, it’s about Linux being case sensetive. On Linux, GMod only searches for all lowercase files and folders.

Robotboy knows his hit.

Thank you so much Robotboy!!! You are a life saver!

Also yes Ice Robotboy sure does know his hit.