Pawn Compile Library Stopped Working
#8

I had done a change at the first phase and that happen check the whole phase
Код:
	if(dialogid == 7483) // VIP Command
	{
		if(response)
		{
			if(listitem == 0)
			{
   						if(PlayerInfo[playerid][pDonateRank] =< 1)
		 				{
  							SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use that command!");
						}
    					if(IsPlayerInAnyVehicle(playerid))
    					{
            				RepairVehicle(GetPlayerVehicleID(playerid));
       		 				SendClientMessageEx(playerid, COLOR_LIGHTBLUE, "Vehicle has been successfully fixed with the VIP Feature!");
						}
					return 1;
			}
			if(listitem == 1)
			{
                    if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
					{
					    new vehicleid = GetPlayerVehicleID(playerid);
					    new engine,lights,alarm,doors,bonnet,boot,objective;
				    	GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
					    if(engine == VEHICLE_PARAMS_ON) return SendClientMessageEx(playerid, COLOR_RED, "You need to shut off the engine before filling up (/car engine).");
						if(GetVehicleModel(vehicleid) == 481 || GetVehicleModel(vehicleid) == 509 || GetVehicleModel(vehicleid) == 510) return SendClientMessageEx(playerid,COLOR_RED,"This vehicle doesn't need fuel.");
					    if(VehicleFuel[vehicleid] >= 100.0) return SendClientMessageEx(playerid, COLOR_GREEN, "This vehicle's tank is already full.");
					    if(RefuelingVehicle[playerid] == 1) return SendClientMessageEx(playerid, COLOR_LIGHTBLUE, "You are refilling your vehicle's tank.");
				       	SendClientMessageEx(playerid, COLOR_YELLOW2, "Refueling your vehicle's tank, please wait.");
				       	RefuelingVehicle[playerid] = 1;
				       	RefuelingVehicleTimer[playerid] = SetTimerEx("ReFill", 1000, true, "i", playerid);
					}
					return 1;
			}
			if(listitem == 2)
			{
				if(PlayerInfo[playerid][pDonateRank] >= 1)
				{
			    	ShowPlayerDialog(playerid, VIPWEPSMENU, DIALOG_STYLE_LIST, "VIP Weapons Pointshop", "Desert Eagle (3)\nSPAS-12 (5)\nM4 (4)\nAK-47 (4)\nShotgun (2)\nMP5 (3)\nSniper (5)\nSilenced Pistol (2)\nGolf Club (1)\nBat (1)\nDildo (1)\nSword (1)", "Select", "Cancel");
				}
				else
				{
					SendClientMessageEx(playerid, COLOR_YELLOW, "Warning: You must be a VIP member to access the gun lockers.");
				}
			}
			if(listitem == 3)
			{
            	if(PlayerInfo[playerid][pDonateRank] >= 2)
            	{
			    	ShowPlayerDialog( playerid, 3496, DIALOG_STYLE_INPUT, "Skin Selection","Please enter a Skin ID!\n\nNote: Skin changes are free here.", "Wear", "Cancel" );
			    }
			    else
			    {
			    	SendClientMessageEx(playerid, COLOR_YELLOW, "Warning: You must be at least Silver VIP to access the clothes corner. In the clothes corner you can get ANY skin.");
			    }
			}
			/*if(listitem == 4)
			{
  				if(PlayerInfo[playerid][pDonateRank] >= 2)
            	{
			    	ShowPlayerDialog(playerid, 7484, DIALOG_STYLE_LIST, "Warning: Job Center", "Detective\nLawyer\nWhore\nDrugs Dealer\nBodyguard\nMechanic\nArms Dealer\nBoxer\nDrugs Smuggler\nTaxi Driver\nCraftsman\nBartender\nTrucker\nPizza Boy", "Proceed", "Cancel");
		    	}
			    else
			    {
			    	SendClientMessageEx(playerid, COLOR_YELLOW, "VIP: You must be at least Silver VIP to access the job center.");
			    }
			}*/
			if(listitem == 5)
			{
			    ShowPlayerDialog(playerid, 7486, DIALOG_STYLE_LIST, "VIP: VIP Tab Color", "On\nOff", "Proceed", "Cancel");
			}
		}
	}
Reply


Messages In This Thread
Pawn Compile Library Stopped Working - by Laure - 23.10.2012, 08:38
Re: Pawn Compile Library Stopped Working - by Laure - 23.10.2012, 08:51
Re: Pawn Compile Library Stopped Working - by RedJohn - 23.10.2012, 08:58
Re: Pawn Compile Library Stopped Working - by cosbraa - 23.10.2012, 08:58
Re: Pawn Compile Library Stopped Working - by denNorske - 23.10.2012, 08:59
Re: Pawn Compile Library Stopped Working - by Laure - 23.10.2012, 09:10
Re: Pawn Compile Library Stopped Working - by RedJohn - 23.10.2012, 09:12
Re: Pawn Compile Library Stopped Working - by Laure - 23.10.2012, 09:16
Re: Pawn Compile Library Stopped Working - by Laure - 23.10.2012, 09:22
Re: Pawn Compile Library Stopped Working - by RedJohn - 23.10.2012, 18:30

Forum Jump:


Users browsing this thread: 2 Guest(s)