tu peu faire comme ceci
HaveGotAValidSkin(playerid)
{
new skintype;
skintype = GetPlayerSkin(playerid);
if(skintype == 0 || skintype == 9)
{
return 1;
}
else
{
SendClientMessage(playerid, COLOR_WHITE, "Le skin n'est pas compatible avec ce chapeau");
return 0;
}
}