About Dialog [HELP!]
#1

Hey i want to add my buy score menu to the /shop list

Heres The Code For Shop

pawn Код:
if(strcmp("/shop", cmdtext, true, 10) == 0)
    {
      if(InSpawn[playerid] == true) return SendClientMessage(playerid, COLOR_RED, "You can't use this command while on class selection");
      if(GetPVarInt(playerid, "InDm") == 1) return SendClientMessage(playerid,COLOR_RED, "You cant use any command While Your in DM");
      else
      {
      if(!IsPlayerInRangeOfPoint(playerid,4.0,-28.0168,-89.9490,1003.5469)) return SendClientMessage(playerid,COLOR_RED,"You Have To Be In Market 24/7");
      else
      {
      SendClientMessage(playerid, COLOR_RED, "Welcome To Market 24/7");
      ShowPlayerDialog(playerid,7,DIALOG_STYLE_LIST,"Market 24/7 Menu","Sprunk (Coast $50)\nBeer (Coast $100)\nWine (Coast $100)\nCigarette (Coast $50)","Buy","Cancel");
      }
      }
      return 1;
    }
But i want to add my buy score menu

example

Код:
Blahblah blah
Blahblah blah
Blahblah blah
Blahblah blah
Score Menu
And i also want when i click score menu it must pop this out!:

pawn Код:
if(!strcmp(cmdtext, "/buyscore", true))
    {
       if(InSpawn[playerid] == true) return SendClientMessage(playerid, COLOR_RED, "You can't use this command while on class selection");
       if(GetPVarInt(playerid, "InDm") == 1) return SendClientMessage(playerid,COLOR_RED, "You cant use any command While Your in DM");
       else
       {
       ShowPlayerDialog(playerid,8,DIALOG_STYLE_LIST,"Buy Score Menu","10 Score (Coast $1000)\n50 Score (Coast $10000)\n100 Score (Coast $50000)\n500 Score (Coast $1000000)","Buy","Cancel");
       }
       return 1;
    }
Please Help !
Reply


Messages In This Thread
About Dialog [HELP!] - by lyrics - 17.08.2011, 09:04
Re: About Dialog [HELP!] - by Norck - 17.08.2011, 09:36
Re: About Dialog [HELP!] - by lyrics - 17.08.2011, 09:40
Re: About Dialog [HELP!] - by lyrics - 17.08.2011, 09:43
Re: About Dialog [HELP!] - by Norck - 17.08.2011, 09:47
Re: About Dialog [HELP!] - by lyrics - 17.08.2011, 09:49

Forum Jump:


Users browsing this thread: 1 Guest(s)