Dialog doesnt showing up!
#1

All of the red colors is not showing up

Код:
if(dialogid == DIALOG_TOKEN)
	{
	    if(response)
	    {
	        if(listitem == 0)
	        {
	            ShowPlayerDialogEx(playerid, DIALOG_T_WEAPON, DIALOG_STYLE_LIST, "Weapon token shop", "Sawn-Off (3 Token)\n Spas(5 Token)\n Uzi(2 Token)\n Rocket Launcher (200 token)", "Buy", "Cancel");
				return 1;
	        }
	        else if(listitem == 1)
	        {
	            ShowPlayerDialogEx(playerid, DIALOG_T_LEVEL, DIALOG_STYLE_LIST, "Level Shop", "Level 10 (5 Token)\n Level 30 (10 Token)\n Level 50 (30 Token)\n Level 100 (50 Token)\n Level 500 (300 Token)", "Buy", "Cancel");
                return 1;
			}
	        
	        else if(listitem == 2)
	        {
				SendClientMessage(playerid, COLOR_REALRED, "Upgrade points is currently under maintenance! Thank you for understand!");
				return 1;
	        }
	        else if(listitem == 3)
	        {
				ShowPlayerDialogEx(playerid, DIALOG_T_MONEYC, DIALOG_STYLE_LIST, "Token to Money Changer", "$50,000 (8 Token)\n $100,000 (11 Token)\n $1,000000 (20 Token)", "Buy", "Cancel");
				return 1;
	        }
	        else if(listitem == 4)
	        {
	            ShowPlayerDialogEx(playerid, DIALOG_T_HA, DIALOG_STYLE_LIST, "Health & Armor shop", "+ 200 Armor (15 Token)\n+ 200 Health (13 Token)", "Select", "Cancel");
	            return 1;
	        }
	    }
	    return 1;
	}
And the green one, it saying "PLAYERNAME trying to spoof dialog"

Код:
if(GetPVarInt(playerid, "dialog") != dialogid ) { // Confirm the dialogid matches what we have in the PVar
		format(string, sizeof(string), "{AA3333}AdmWarning{FFFF00}: %s (ID %d) is possibly trying to spoof a dialog ID (%d).", GetPlayerNameEx(playerid), playerid, dialogid);
  		ABroadCast(COLOR_YELLOW, string, 2);

		format(string, sizeof(string), "%s has possibly tried to spoof a dialog ID.", GetPlayerNameEx(playerid));
		AddAutomatedFlag(playerid, string);

		format(string, sizeof(string), "%s has possibly tried to spoof a dialog ID (%d, %d).", GetPlayerNameEx(playerid), dialogid, response);
		Log("logs/crash.log", string);

		return 1;
	}
Reply


Messages In This Thread
Dialog doesnt showing up! - by Trynda - 09.05.2014, 07:29
Re : Dialog doesnt showing up! - by Sc0tt - 09.05.2014, 07:45
Re: Re : Dialog doesnt showing up! - by Trynda - 09.05.2014, 07:47
Re: Dialog doesnt showing up! - by Trynda - 09.05.2014, 08:51
Re: Dialog doesnt showing up! - by Trynda - 09.05.2014, 09:08
Re: Dialog doesnt showing up! - by CoaPsyFactor - 09.05.2014, 09:50
Re: Dialog doesnt showing up! - by Trynda - 09.05.2014, 09:59
Re: Dialog doesnt showing up! - by Trynda - 09.05.2014, 10:32
Re: Dialog doesnt showing up! - by AroseKhanNiazi - 09.05.2014, 11:13
Re: Dialog doesnt showing up! - by Trynda - 09.05.2014, 11:18

Forum Jump:


Users browsing this thread: 1 Guest(s)