Dialog Problem
#1

Guys I got a Problems.When i press my "cancel" button it doesnt hide the dialog just Kicks me from the server (server closed connection)
There aint any kick(playerid); and --- here is a little part of code:
Код:
if (dialogid == 4)
  {
    if (response == 1)
    {
      switch (listitem)
      {
        case 0:SetPlayerPos(playerid,1322.3201,332.0854,19.4082); // Town 1
        case 1:SetPlayerPos(playerid,223.3384,-143.9687,1.5781); // Town 2
        case 2:SetPlayerPos(playerid,717.1638,-551.5009,16.1875); // Town 3
        case 3:SetPlayerPos(playerid,2268.7009,-22.5023,26.4844); // Town 4
			}
      SendClientMessage(playerid, 0xFFFFFFFF, "Teleported.");
      if(!response) SendClientMessage(playerid, 0xFFFFFFFF, "You canceled!");
     }
  	}
Reply


Messages In This Thread
Dialog Problem - by Naruto4 - 05.12.2009, 10:15
Re: Dialog Problem - by Naruto4 - 05.12.2009, 13:40
Re: Dialog Problem - by MenaceX^ - 05.12.2009, 13:52
Re: Dialog Problem - by patchkinson - 05.12.2009, 13:54
Re: Dialog Problem - by Naruto4 - 06.12.2009, 14:54
Re: Dialog Problem - by godknightx - 06.12.2009, 15:08
Re: Dialog Problem - by Naruto4 - 06.12.2009, 17:10
Re: Dialog Problem - by Niixie - 06.12.2009, 19:38
Re: Dialog Problem - by Naruto4 - 08.12.2009, 20:32
Re: Dialog Problem - by Joe Staff - 08.12.2009, 20:49

Forum Jump:


Users browsing this thread: 1 Guest(s)