//Array zum Speichern des vorherigen Skins oben bei den "new" zeilen ;)
new PlayerOldSkin[MAX_PLAYERS];
//OnPlayerCommandText
if(strcmp(cmd,"/dress",true)==0) {
if(GetPlayerSkin(playerid) == 282) {
SetPlayerSkin(playerid,PlayerOldSkin[playerid]);
return 1;
}
PlayerOldSkin[playerid] = GetPlayerSkin(playerid);
SetPlayerSkin(playerid,282);
return 1;
}
Ungetestet