[HELP] How to fix those error's?
#9

Код:
410: 	{"Hilltop Farm",                {967.30,-450.30,-3.00,1176.70,-217.90,200.00}},
Код:
682: public OnPlayerEnterCheckpoint(playerid)
(THIS IS LINE 682) {
    new string[128];
	if(VCP[playerid] == 1)
	{
	    new Float:x, Float:y, Float:z;
		GetVehiclePos(PlayerInfo[playerid][pCarKey], x, y, z);
		if(PlayerToPoint(6.5,playerid,x,y,z))
		{
		    GameTextForPlayer(playerid, "~p~You have found it", 2000, 4);
			VCP[playerid] = 0;
			DisablePlayerCheckpoint(playerid);
			ActiveCP[playerid] = 0;
		}
		else if(PlayerInfo[playerid][pGarageKey] != 0 && PlayerToPoint(6.5,playerid,Garages[PlayerInfo[playerid][pGarageKey]][EnterX],Garages[PlayerInfo[playerid][pGarageKey]][EnterY],Garages[PlayerInfo[playerid][pGarageKey]][EnterZ]))
		{
		    GameTextForPlayer(playerid, "~p~You have found it", 2000, 4);
			VCP[playerid] = 0;
			DisablePlayerCheckpoint(playerid);
			ActiveCP[playerid] = 0;
		}
	}
Код:
719: 				            case 0: // This is the first place, factory at flint.
				        	{
				        	    TruckerPickup[playerid][0]++;
(THIS IS LINE 719)				            SendClientMessage(playerid, COLOR_WHITE, "Alright, my name is Earl and I'll be on the trucker radio with you.");
					            SendClientMessage(playerid, COLOR_WHITE, "To keep you updated, now head to the Blueberry Factory and load up the trailer.");
						        PlayerInfo[playerid][TruckDelivX] = -15.2205;
								PlayerInfo[playerid][TruckDelivY] = -273.2395;
								PlayerInfo[playerid][TruckDelivZ] = 5.4297;
								SetPlayerCheckpoint(playerid,PlayerInfo[playerid][TruckDelivX],PlayerInfo[playerid][TruckDelivY],PlayerInfo[playerid][TruckDelivZ],3.0);
							}
Код:
871: 		            	if(JustStarted[playerid] != 1)
		        	    {
		        	        PlayerInfo[playerid][pPayCheck] += cash * 5;
		            		format(string, sizeof(string), "~w~Good work~n~~g~$%d added to your paycheck.",cash);
		            		GameTextForPlayer(playerid, string, 5000, 1);
		        	    }
(THIS IS LINE 871)	        	    else
		        	    {
		        	        JustStarted[playerid] = 0;
		        	    }
		        	    SetPlayerCheckpoint(playerid, -412.9661,-1343.8303,25.2515, 5.0); // Farm
		        	    PlayerInfo[playerid][pCanJob] += 1;
					}
Reply


Messages In This Thread
[HELP] How to fix those error's? - by Robinn - 06.12.2012, 12:08
Re: [HELP] How to fix those error's? - by Roel - 06.12.2012, 12:11
Re: [HELP] How to fix those error's? - by Robinn - 06.12.2012, 12:13
Re: [HELP] How to fix those error's? - by Red_Dragon. - 06.12.2012, 12:18
Re: [HELP] How to fix those error's? - by Robinn - 06.12.2012, 12:20
Re: [HELP] How to fix those error's? - by Robinn - 06.12.2012, 12:24
Re: [HELP] How to fix those error's? - by Robinn - 06.12.2012, 12:27
Re: [HELP] How to fix those error's? - by XStormiest - 06.12.2012, 12:28
Re: [HELP] How to fix those error's? - by Robinn - 06.12.2012, 12:34
Re: [HELP] How to fix those error's? - by Robinn - 06.12.2012, 12:37

Forum Jump:


Users browsing this thread: 1 Guest(s)