I think there is a confusion of terms, "Skins", basically they are texture variations for a model, it will be the same model but with different colors, and for that you can use "entity_get_int( Client, EV_INT_skin, ), and "entity_set_int( Client, EV_INT_skin, ...", but people call "skins" what are complete model changes, not just the texture, you have to see if you are obtaining or changing the texture of the model or the entire model, if you are changing the model you could use:
PHP Code:
CopyMDL( inClient, outClient )
{
new MDL[15], Formatex[65];
get_user_info( inClient, "model", MDL, 14 );
formatex( Formatex, 64, "models/player/%s/%s.mdl", MDL, MDL);
if(is_user_alive( outClient ))
{
set_pdata_string( outClient, 1420, MDL, -1, 20 );
}
entity_set_model( outClient, Formatex );
}