if(strcmp(cmd, "/skin", true) == 0 || strcmp(cmd, "/clothes", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(IsAtClothShop(playerid))
{
tmp = strtok(cmdtext, idx);
new id = strval(tmp);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GREEN, "Erreur ! il faut faire /skin [ID DU SKIN]");
return 1;
}
if(IsACopSkin(id) == 0)
{
if(IsValidSkin(id))
{
SetPlayerSkin(playerid,id);
PlayerInfo[playerid][pChar] = id;
SendClientMessage(playerid, COLOR_LIGHTBLUE, "[Vendeur] : Jolie Tenue !");
return 1;
}
Personnelement, sur ce script, y'avait qu'une poignée de Skin et pas la totalité, j'ai du changé a fond
pour faire comme tu le voulais.