Model won't show up in the Playermodel Selector

Hey there, so I started making playermodels.
They work fine, but they don’t show up in the playermodel selector.
Here’s the code from the lua\autorun:


player_manager.AddValidModel( "Glaz PM", "models\survivors\glaz_pm.mdl" );
list.Set( "PlayerOptionsModel", "Glaz PM", "models\survivors\glaz_pm.mdl" );

I’d really apreciate if someone could help me.

Greetings,
Zoom. :slight_smile:

You don’t have to do the list.Set anymore – that hasn’t been used for years. Also, your model string uses backslashes – in Lua, those are for escape characters. For paths, you should use forward slashes.

Thank you so much, it worked…

I’ve been so stupid:mindblown:

New Problem for a new Model:


player_manager.AddValidModel( "Helga PM", "models/player/helga.mdl" );

also won’t work

Looks fine to me. Make sure you’re doing it shared.