Help with new textdraw previews
#1

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:

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;
}
and how would you change this so the textdraw opens with all skins.

Thanks in advance for help.
Reply
#2

You may use the skinchanger FS on the SA-MP server package,filterscripts folder.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)