I need help compiling a model

when I try to compile my custom model, i get this error

*bad command $cdmaterials

And heres my coding. PS im a noob at this

[editline]28th June 2014[/editline]

Its for source

Well, you’re listing it twice for the same path. You can probably just remove one of those.


On a side note, here’s the animations for players:

$includemodel "m_anm.mdl"

And for NPCs:

$includemodel "humans/male_shared.mdl"
$includemodel "humans/male_ss.mdl"
$includemodel "humans/male_gestures.mdl"
$includemodel "humans/male_postures.mdl"

Pick one and stick with it or animations will conflict with each other. The other animations you have listed are no longer used and haven’t been for over a year.

I still get the same error

I actually make playermodels that use

$includemodel "m_anm.mdl"
$includemodel "m_gst.mdl"
$includemodel "m_pst.mdl"
$includemodel "m_shd.mdl"
$includemodel "m_ss.mdl"

Have yet to run into a problem by doing so.