Dialog Problem with CMD
#1

The CMD Doesnt work there ... Doesnt show nothing , Fix it please ?


The CMD :

Код:
CMD:boston(playerid, params[])
{
    if(PlayerInfo[playerid][pFMember] == 1)
 	{
  		if(IsPlayerInRangeOfPoint(playerid, 4.0, -517.86, 306.36, 909.53) && GetPlayerVirtualWorld(playerid) == 6065)
    	{
     		ShowPlayerDialog(playerid, DIALOG_BOSTONS, DIALOG_STYLE_LIST, "El Bostons Lockers", "Duty\nClothes", "Select", "Cancel");
      }
      	else
		{
  			SendClientMessageEx(playerid, COLOR_WHITE, "You aren't in range of your El Bostons lockers.");
 		}
  	}
	return 1;
}
The Dialog :

Код:
		if(dialogid == DIALOG_BOSTONS)
	{
 		if(response)
		{
            if(listitem == 0) //  Duty
			{
				GivePlayerValidWeapon(playerid, 24, 1000);
				GivePlayerValidWeapon(playerid, 29, 1000);
				GivePlayerValidWeapon(playerid, 31, 500);
			    GivePlayerValidWeapon(playerid, 30, 500);
				GivePlayerValidWeapon(playerid, 25, 1000);
				GivePlayerValidWeapon(playerid, 33, 1000);
				SetPlayerHealth(playerid, 100.0);
				SetPlayerArmour(playerid, 100.0);
			}
			else if(listitem == 1) // Clothes
	        {
		    ShowPlayerDialog( playerid, 3495, DIALOG_STYLE_INPUT, "Skin Selection","Please enter a Skin ID!\n\nNote: Skin Changes cost $2500.", "Buy", "Cancel" );
	        }
		}
	}
Reply
#2

Well are you sure you were in VW 6065?
Reply
#3

Show us your DIALOG_BOSTONS define.
Reply
#4

Код:
//BOSTONS
#define DIALOG_BOSTONS 2815
Reply
#5

Then ? ? ? ?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)