dialog problem..
#1

Hi there. I have some problems with a command, /v mod , it was made for players who are mechanics (faction7) to tune vehicles. But it's just not showing up the dialog-..

Код:
			else if(strcmp(x_vehicle, "mod", true) == 0)
			{

			    new vehicleid = GetPlayerVehicleID(playerid);
				if(vehicleid <= IBPCARS)
				{
					return 1;
				}
                if(IsPlayerInRangeOfPoint(playerid, 20, 2531.6143, -1555.6794, 25.1923) || IsPlayerInRangeOfPoint(playerid, 20, 2530.6426, -1547.0442, 25.1923) || IsPlayerInRangeOfPoint(playerid, 20, 2530.3752, -1539.2592, 25.1923) || IsPlayerInRangeOfPoint(playerid, 20, 2530.1902, -1531.5018, 25.1923) || IsPlayerInRangeOfPoint(playerid, 20, 2530.0493, -1524.3677, 24.5870))
                {
					new plname[MAX_PLAYER_NAME];
					GetPlayerName(playerid, plname, sizeof(plname));
  					if(PlayerInfo[playerid][pFaction] == 7)
	    			{
				   		ShowPlayerDialog(playerid, Vmod, DIALOG_STYLE_LIST, "Modificarile Masinii", "Reparatie\nRoti\nPaintJob\nHydraulice\nTunning avansat\nSpoiler\nRemove tunning", "Select", "Cancel");
					}
					else
					{
						SendClientMessage(playerid, COLOR_GRAD2, "Nu esti membru LSAS.");
						return 1;
     				}
				}
				return 1;
			}
I just don't know why on the forum is so messed UP, in the GM looks really OK-... So, the problem is that the DIALOG DOESN'T show UP when I type /v mod
Reply
#2

Some help ? Please ?
Reply
#3

Are your players in the range of the points listed above when using the command?
Reply
#4

Quote:
Originally Posted by Michael B
Посмотреть сообщение
Are your players in the range of the points listed above when using the command?
Yes..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)