Yes, that's what I noticed, and I removed it, and still not
tried this:
PHP Code:
public fw_spawn( Index )
{
if( !is_user_alive( Index ) || is_user_bot( Index ) )
return;
if (cs_get_user_team( Index ) == CS_TEAM_CT) cs_set_user_model( Index, "g_szModelsCT")
else if (cs_get_user_team( Index ) == CS_TEAM_T) cs_set_user_model( Index, "g_szModelsT")
}
Quote:
|
Error: could not load file models/player/g_szModelsT/g_szModelsT.mdl
|
EDIT: Fixed i dont know why should i set my folder mdl on this lines:
PHP Code:
public fw_spawn( Index )
{
if( !is_user_alive( Index ) || is_user_bot( Index ) )
return;
if( cs_get_user_team( Index ) == CS_TEAM_CT )
{
cs_set_user_model( Index, "CTSkin" );
}
else if( cs_get_user_team( Index ) == CS_TEAM_T )
{
cs_set_user_model( Index, "TSkin" );
}
}