SA-MP Forums Archive
Need help with dialog's !! - 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: Need help with dialog's !! (/showthread.php?tid=573470)



Need help with dialog's !! - Toxik - 07.05.2015

This is command i made
but ingame Dont Show Dialog ..
i did
#Define DIALOG_SHOP
and yeah i dont have any Else
#Define DIALOG_SHOP
pawn Код:
CMD:shop(playerid, params[])
{
    ShowPlayerDialog(playerid, DIALOG_SHOP, DIALOG_STYLE_TABLIST_HEADERS, "Buy Weapon",
    "Weapon\tPrice\tAmmo\n\
    Deagle\t$5000\t100\n\
    Sawnoff\t$5000\t100\n\
    Pistol\t$1000\t50"
, // Etc.
    "Select", "Cancel");
    return 1;
}
can anyone fix that codes ?
Like .. and explain me what u did ...


Re: Need help with dialog's !! - X337 - 08.05.2015

Код:
#Define DIALOG_SHOP <NUMBER>
You forgot to add number.


Re: Need help with dialog's !! - Toxik - 08.05.2015

Thanks