OnDialogResponse
#3

Quote:
Originally Posted by Skimmer
View Post
Show me how your WEAPON_SHOP array looks like and the line where you show that dialog to a player.
pawn Code:
enum E_WEAPON_SHOP_DATA
{
    WEAPON_MODELID,
    WEAPON_NAME[35],
    WEAPON_PRICE,
    WEAPON_AMMO,
    WEAPON_ID
};

new const WEAPON_SHOP[][E_WEAPON_SHOP_DATA] =
{
    {341, "Chainsaw", 10000, 1, WEAPON_CHAINSAW},
    {347, "Silenced 9mm", 1500, 150, WEAPON_SILENCED},
    {348, "Desert Eagle", 2500, 150, WEAPON_DEAGLE},
    {350, "Sawed Off Shotgun", 8000, 30, WEAPON_SAWEDOFF},
    {351, "Spas12 Shotgun", 4500, 100, WEAPON_SHOTGSPA},
    {352, "Micro-UZI", 3500, 500, WEAPON_UZI},
    {353, "MP5", 3000, 300, WEAPON_MP5},
    {372, "Tec-9", 3500, 500, WEAPON_TEC9},
    {358, "Sniper Rifle", 8000, 20, WEAPON_SNIPER},
    {355, "Ak47", 4500, 250, WEAPON_AK47},
    {356, "M4", 5000, 250, WEAPON_M4},
    {359, "RPG", 15000, 1, WEAPON_ROCKETLAUNCHER}
};
There it is.
Reply


Messages In This Thread
OnDialogResponse - by ChandraLouis - 21.05.2020, 12:34
Re: OnDialogResponse - by Skimmer - 21.05.2020, 12:52
Re: OnDialogResponse - by ChandraLouis - 21.05.2020, 14:40
Re: OnDialogResponse - by Skimmer - 21.05.2020, 14:49
Re: OnDialogResponse - by ChandraLouis - 21.05.2020, 14:51
Re: OnDialogResponse - by Skimmer - 21.05.2020, 15:24
Re: OnDialogResponse - by ChandraLouis - 21.05.2020, 15:46
Re: OnDialogResponse - by Skimmer - 21.05.2020, 15:51
Re: OnDialogResponse - by ChandraLouis - 21.05.2020, 15:57
Re: OnDialogResponse - by Skimmer - 21.05.2020, 16:23

Forum Jump:


Users browsing this thread: 1 Guest(s)