ply:SetModel with animations

Hello.

[lua]
ply:SetModel( “models/Alyx.mdl” )
[/lua]

That makes Player stay in one position. While im hitting or something no animations are shown. How to repair this?

Many thanks for help.

[lua]
ply:SetModel( “models/player/Alyx.mdl” )
[/lua]

should work

Yes its working.
Many thanks my friend.

#One more question
In which .gfc I can find all player models? In Source Models there is no “Player” folder.

I believe they are all in your garrysmod content.gfc folder.

Someone correct me if I am wrong.

You are again right. Thank You again.

Stupid me, I could search there first.

Yes models/Alyx.mdl is a ragdoll model, not a player model.
For all HL2 characters, simply add a player/ before Alyx.mdl