public OnPlayerRequestClass(playerid, classid){ new skinid = GetPlayerSkin(playerid); switch(skinid) { case 299: //If the skin is 299 { //Set the player's animation here } } return 1;}