[HELP]Create a country menu
#3

i have nothing do wrong
i just asking if you can make something like that
but i am now here:
pawn Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
  if(dialogid == 1)
  {
    if(!response) SendClientMessage(playerid, 0xFFFFFFFF, "You canceled!");
    new message[196];
    format(message, sizeof(message), "You are teleported to: %s", inputtext);
    SendClientMessage(playerid, 0xFFFFFFFF, message);
    return 1;
  }
  return 0;
}
and the dialog:
pawn Code:
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"City Spawn","San Fierro\nLos Santos","Spawn","Cancel");
how to make now that if he select: Los santos
he goes to a position?
Reply


Messages In This Thread
[HELP]Create a country menu - by breakpaper - 14.11.2009, 14:18
Re: [HELP]Create a country menu - by niCe - 14.11.2009, 14:50
Re: [HELP]Create a country menu - by breakpaper - 14.11.2009, 15:16
Re: [HELP]Create a country menu - by niCe - 14.11.2009, 15:34

Forum Jump:


Users browsing this thread: 2 Guest(s)