Please help
#1

Hi.I have a big problem in my server.

I have a register and login dialog but i need to have a age and sex dialog can somebody help me

Age dialog like a this

16
17
18
19
20
21
23
24
25

and sex dialog

are you male or female

male
female

to select you need to click on male or female and.......

sory for my bad english im from bosnia
Reply
#2

can somebody do it?please i need this to finish my server
Reply
#3

Hi, THIS may help you.
Reply
#4

Quote:
Originally Posted by DJDhan
Hi, THIS may help you.
yea but can you create what i want please?
Reply
#5

You have the register and login dialog just copy and edit
Reply
#6

Код:
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST,"What is your age?",16\n17\n18\n19\n20\n21\n22\n23\n24", "Select");


public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
  // We SHOULD use switch(dialogid) with cases, but we're only going to use one dialog in this tutorial.
  if(dialogid == 1 && response) // If the dialogid is 1 (our dialog) and they pressed 'Purchase'
  {
    // We'll use the switch/cases now because we're going to process a few results, not just one. Remember, the first item in the list has id 0.
    switch(listitem)
    {
      case 0:
      {
      }
      case 1:
      {
      }
      case 2:
      {
      }
    }
blablabla
  }
  return 1;
}
Reply
#7

thanx
Reply
#8

lol it doesnt work?

i compile and its good but that didnt work ingame
Reply
#9

Quote:
Originally Posted by Ado111
lol it doesnt work?

i compile and its good but that didnt work ingame
I bet you just copy-pasted the code he gave you . You have to edit it to suit your needs.
Reply
#10

If you want to script then you can't just copy/paste. You have to look at what you get or .. even better, TRY BY YOURSELF
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)