SA-MP Forums Archive
Help with new textdraw previews - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help with new textdraw previews (/showthread.php?tid=444901)



Help with new textdraw previews - conor565 - 18.06.2013

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.


Re: Help with new textdraw previews - Tamer - 18.06.2013

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