14.11.2009, 15:16
i have nothing do wrong
i just asking if you can make something like that
but i am now here:
and the dialog:
how to make now that if he select: Los santos
he goes to a position?
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;
}
pawn Code:
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"City Spawn","San Fierro\nLos Santos","Spawn","Cancel");
he goes to a position?