/shop doesn't working
#7

Try this


if (strcmp("/shop", cmdtext, true, 10) == 0)

{
if(gTeam[playerid] == TEAM_ZOMBIE)
{
SendClientMessage(playerid, 0x9EC73DAA,"Zombies can't buy Guns !");
}
else
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Choose a gun to buy", "M4 \
{F81414}$3000(100ammo) \nAK-47 {F81414}$1500(100ammo) \nBazooka {F81414}$10000(10Ammo) \n
Sniper Rifle {F81414}$7000(50ammo) \nGrenades {F81414}$8000(10ammo) \nMolotov {F81414}$400(10ammo)\
\nColt {F81414}$500(100ammo) \nCombat Shotgun {F81414}$6000(100ammo) \nUZI {F81414}$900(100ammo)
\nMP5 {F81414}$1000(100ammo) ", "Buy", "Cancel"); // You can change the dialog ID to your own
}
return 1;
}
Reply


Messages In This Thread
/shop doesn't working - by ServerScripter - 21.08.2011, 22:51
Re: /shop doesn't working - by Improvement™ - 21.08.2011, 22:54
Re: /shop doesn't working - by =WoR=Varth - 22.08.2011, 02:53
Re: /shop doesn't working - by ServerScripter - 22.08.2011, 13:26
Re: /shop doesn't working - by serman - 22.08.2011, 13:28
Re: /shop doesn't working - by [MWR]Blood - 22.08.2011, 13:32
Re: /shop doesn't working - by [WoF]Sonny - 22.08.2011, 13:32
Re: /shop doesn't working - by [MWR]Blood - 22.08.2011, 13:34
Re: /shop doesn't working - by [WoF]Sonny - 22.08.2011, 13:36
Re: /shop doesn't working - by ServerScripter - 22.08.2011, 13:41

Forum Jump:


Users browsing this thread: 1 Guest(s)