18.06.2013, 20:39
Hi, I want to add the new textdraws to my roleplay server. The way this would work is by when the command /buyclothes is typed inside one of the clothing stores it would open the textdraw and you can select a skin.
Here is my current /buyclothes command:
and how would you change this so the textdraw opens with all skins.
Thanks in advance for help.
Here is my current /buyclothes command:
pawn Код:
CMD:buyclothes(playerid, params[]) {
if(IsAtClothShop(playerid)) {
if(PlayerInfo[playerid][pFaction] == 0 && PlayerInfo[playerid][pLeader] == 0 && PlayerInfo[playerid][pDonator] == 0)
ShowPlayerDialogEx(playerid, 3495, DIALOG_STYLE_INPUT, "Skin Selection","Please enter a Skin ID!\n\nNote: Skin Changes cost $250.", "Buy", "Cancel");
else
ShowPlayerDialogEx(playerid, 3495, DIALOG_STYLE_INPUT, "Skin Selection","Please enter a Skin ID!\n\nNote: Your skin changes are free.", "Buy", "Cancel");
}
else
{
SendClientMessage(playerid, COLOR_WHITE, " You're not in a Clothing Shop!");
}
return 1;
}
Thanks in advance for help.