04.04.2012, 16:34
Im making it so when you do /buyclothes a dialog pops up and what ever skins ID you put in there box your skins changes to that ID
Im doing it like this
Is there a quicker way of doing this
Please Help Please
Im doing it like this
Код:
if(dialogid == DIALOG_BUYCLOTHES)
{
if(response)
{
new clothes = strval(inputtext);
if(clothes == 1)
{
SetPlayerSkin(playerid, 1);
SaveAccountStats(playerid);
SendClientMessage(playerid, COLOR_GOLD, "Skin changed");
}
else
{
if(clothes == 2)
{
SetPlayerSkin(playerid, 2);
SaveAccountStats(playerid);
SendClientMessage(playerid, COLOR_GOLD, "Skin changed");
}
}
}
}
}
Please Help Please


