List style Dialog Help
#5

here ya go try this
Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	if(dialogid == 911 && response == 1)
	{
	  switch(listitem)
	  {
	    case 0:
	    {
	      SetPlayerPos(playerid,2268.9697,2458.9207,38.6837);
	      SetPlayerFacingAngle(playerid,0);
			}
			case 1:
			{
			  SetPlayerInterior(playerid,3);
			  SetPlayerPos(playerid,237.3105,195.6100,1008.1719);
			  SetPlayerFacingAngle(playerid,270);
			}
			case 2:
			{
			  SetPlayerPos(playerid,2268.147949,2448.327880,3.531250);
			  SetPlayerFacingAngle(playerid, 180);
			}
			case 3:
			{
			  SetPlayerPos(playerid,2267.936523,2448.448486,-7.195312);
			  SetPlayerFacingAngle(playerid,180);
			}
		}
	}
	if(dialogid == 912 && response == 1)
	{
	  switch(listitem)
	  {
	    case 0:
	    {
	      SetPlayerPos(playerid,2268.9697,2458.9207,38.6837);
	      SetPlayerFacingAngle(playerid,0);
			}
			case 1:
			{
			  SetPlayerInterior(playerid,3);
			  SetPlayerPos(playerid,237.3105,195.6100,1008.1719);
			  SetPlayerFacingAngle(playerid,270);
			}
			case 2:
			{
			  SetPlayerPos(playerid,2296.523193,2468.725341,10.820312);
			  SetPlayerFacingAngle(playerid, 270);
			}
			case 3:
			{
			  SetPlayerPos(playerid,2267.936523,2448.448486,-7.195312);
			  SetPlayerFacingAngle(playerid,180);
			}
		}
	}
	if(dialogid == 913 && response == 1)
	{
	  switch(listitem)
	  {
	    case 0:
	    {
	      SetPlayerPos(playerid,2268.9697,2458.9207,38.6837);
	      SetPlayerFacingAngle(playerid,0);
			}
			case 1:
			{
			  SetPlayerInterior(playerid,3);
			  SetPlayerPos(playerid,237.3105,195.6100,1008.1719);
			  SetPlayerFacingAngle(playerid,270);
			}
			case 2:
			{
			  SetPlayerPos(playerid,2296.523193,2468.725341,10.820312);
			  SetPlayerFacingAngle(playerid, 270);
			}
			case 3:
			{
			  SetPlayerPos(playerid,2268.147949,2448.327880,3.531250);
			  SetPlayerFacingAngle(playerid,180);
			}
		}
	}
	if(dialogid == 914 && response == 1)
	{
	  switch(listitem)
	  {
	    case 0:
	    {
	      SetPlayerInterior(playerid,3);
			  SetPlayerPos(playerid,237.3105,195.6100,1008.1719);
			  SetPlayerFacingAngle(playerid,270);
			}
			case 1:
			{
			  SetPlayerPos(playerid,2296.523193,2468.725341,10.820312);
			  SetPlayerFacingAngle(playerid,270);
			}
			case 2:
			{
			  SetPlayerPos(playerid,2268.147949,2448.327880,3.531250);
			  SetPlayerFacingAngle(playerid, 180);
			}
			case 3:
			{
			  SetPlayerPos(playerid,2267.936523,2448.448486,-7.195312);
			  SetPlayerFacingAngle(playerid,180);
			}
		}
	}
	if(dialogid == 915 && response == 1)
	{
	  switch(listitem)
	  {
	    case 0:
	    {
	      SetPlayerInterior(playerid,0);
	      SetPlayerPos(playerid,2268.9697,2458.9207,38.6837);
	      SetPlayerFacingAngle(playerid,0);
			}
			case 1:
			{
			  SetPlayerInterior(playerid,0);
			  SetPlayerPos(playerid,2296.523193,2468.725341,10.820312);
			  SetPlayerFacingAngle(playerid, 270);
			}
			case 2:
			{
			  SetPlayerInterior(playerid,0);
			  SetPlayerPos(playerid,2268.147949,2448.327880,3.531250);
			  SetPlayerFacingAngle(playerid, 180);
			}
			case 3:
			{
			  SetPlayerInterior(playerid,0);
			  SetPlayerPos(playerid,2267.936523,2448.448486,-7.195312);
			  SetPlayerFacingAngle(playerid,180);
			}
		}
	}

	return 1;
}
Reply


Messages In This Thread
List style Dialog Help - by Tyler_Idy - 22.06.2010, 03:52
Re: List style Dialog Help - by Tyler_Idy - 22.06.2010, 21:39
Re: List style Dialog Help - by Tyler_Idy - 23.06.2010, 03:44
Re: List style Dialog Help - by NiiRV4N4 - 23.06.2010, 06:02
Re: List style Dialog Help - by (SF)Noobanatior - 23.06.2010, 07:43
Re: List style Dialog Help - by Tyler_Idy - 23.06.2010, 20:48
Re: List style Dialog Help - by Nero_3D - 23.06.2010, 20:56
Re: List style Dialog Help - by Antonio [G-RP] - 23.06.2010, 21:18
Re: List style Dialog Help - by Tyler_Idy - 23.06.2010, 21:48
Re: List style Dialog Help - by Nero_3D - 24.06.2010, 18:35

Forum Jump:


Users browsing this thread: 1 Guest(s)