Dialog Mixed
#1

Hi,

I was trying to solve it out by defining them or whatever, but problem is still here! Used enumerations

Whenever i use command /set dialog will appear with some packs like this, and i have to choose this pack!

Код:
if(dialogid == D_SET)
{
		if (response)
    	switch (listitem)
		{
   			case 0:
			{
				PlayerInfo[ playerid ][ SET ] = 0;
				GiveSet(playerid, 0);
				SendClientMessage(playerid, -1, "You got this set");
			}
				ShowPlayerDialog( playerid, D_SET, DIALOG_STYLE_LIST, "Set", "Standard Set", "Select", "Cancel" );
			}
		}
	}
- Whenever i use this pack when dialog appear i am teleported to this location! What's the problem ? I shouldn't be teleported but it does.+REP if helped

Код:
if(dialogid == D_TELE)
	{
		if(response)
		{
			if(listitem == 0)
			{
				SetPlayerPos(playerid, 2048.1663,-2261.8228,18.5524);
				SetPlayerFacingAngle(playerid, 147.1641);
				SetPlayerInterior(playerid,0);
				SetCameraBehindPlayer(playerid);
				SendClientMessage(playerid, -1, "Teleported");
   			}
		}
	 }
Reply


Messages In This Thread
Dialog Mixed - by Hunud - 03.05.2017, 10:03
Re: Dialog Mixed - by aoky - 03.05.2017, 10:10
Re: Dialog Mixed - by iLearner - 03.05.2017, 10:11
Re: Dialog Mixed - by Hunud - 03.05.2017, 10:22
Re: Dialog Mixed - by Hunud - 03.05.2017, 10:32
Re: Dialog Mixed - by iLearner - 03.05.2017, 10:39
Re: Dialog Mixed - by Hunud - 03.05.2017, 10:45
Re: Dialog Mixed - by Logic_ - 03.05.2017, 10:53
Re: Dialog Mixed - by Hunud - 03.05.2017, 11:01
Re: Dialog Mixed - by Logic_ - 03.05.2017, 11:03

Forum Jump:


Users browsing this thread: 2 Guest(s)