27.09.2014, 19:05
PHP код:
public OnPlayerRequestClass(playerid, classid)
{
if(PlayerInfo[playerid][Skin] == classid) // If the player has previously saved their skin...
{
SetPlayerSkin(playerid, PlayerInfo[playerid][Skin]);
return 1;
}
return 0;
}