Dialog response doesn't work
#3

Still doesn't work...
New code:
Response:
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if (response)//Als je op "Warp" drukt.
{
switch(dialogid)
{
case 1://Dit zijn de warps
{
switch(listitem)
{

case 0: //Garage
{
SetPlayerPos(playerid, 1980.3363, 1765.5774, 11.6543);
}
case 1://Station
{
SetPlayerPos(playerid, 2766.8821, 1774.3678, 10.8203); //Station
}
}
}
}
return 1;
}
return 0;
}
Command:
pawn Код:
CMD:warps(playerid,params[])
{
ShowPlayerDialog(playerid,1, DIALOG_STYLE_LIST, "Warps", "Garage\nStation", "Warp", "Annuleer");
}
Reply


Messages In This Thread
Dialog response doesn't work - by MarkenFrank1 - 14.02.2014, 12:44
Re: Dialog response doesn't work - by Avi Raj - 14.02.2014, 12:47
Re: Dialog response doesn't work - by MarkenFrank1 - 14.02.2014, 13:00
Re: Dialog response doesn't work - by MarkenFrank1 - 14.02.2014, 14:02
Re: Dialog response doesn't work - by GBLTeam - 14.02.2014, 14:12
Re: Dialog response doesn't work - by Teemo - 14.02.2014, 14:15
Re: Dialog response doesn't work - by MarkenFrank1 - 14.02.2014, 15:56
Re: Dialog response doesn't work - by GBLTeam - 14.02.2014, 16:16
Re: Dialog response doesn't work - by MarkenFrank1 - 14.02.2014, 16:52
Re: Dialog response doesn't work - by Teemo - 14.02.2014, 17:42

Forum Jump:


Users browsing this thread: 1 Guest(s)