Retrun Truck Check point
#1

hi everyone i now have a problem in the truck. I did succeed in San Firor truck. overworked truck in Los Santos. Id car in SF is from 1-> 18 and ID vehicle in LS is 18-37. I did 2 command is / gettruck and / gettruckls to show in SF is highlighting its own LS. But when coming to a new delivery how to notify vehicle id from 1 => 18 is about SF and from 18-> 37 is the LS. I have a code like the following notice of SF, LS There has not been. and how you can help me this problem is not
Код:
public OnPlayerEnterCheckpoint(playerid)
	gPlayerCheckpointStatus[playerid] = CHECKPOINT_RETURNTRUCK;
		for(new i = 19; i <= 37; i++)
		{
		if(gLastCar[playerid]=i) //./includes/vn.pwn(101772) : warning 211: possibly unintended assignment
		{
        	SetPlayerCheckpoint(playerid, 2432.6 , -2110.4 , 13.2, 5);
        	GameTextForPlayer(playerid, "~w~Determination of delivery ~ r ~ harbor of Los Santos", 5000, 1);
			SendClientMessageEx(playerid, COLOR_WHITE, "HINT: Back to the harbor of Los Santos (Tren point inspection by radar).");// car truck Los Satos
		}
		}
		if(!IsABoat(vehicleid))
		{
			SetPlayerCheckpoint(playerid, -1548.087524, 123.590423, 3.554687, 5);
			GameTextForPlayer(playerid, "~w~Determination of delivery ~ r ~ harbor of San Fierro", 5000, 1);
			SendClientMessageEx(playerid, COLOR_WHITE, "HINT: Back to the harbor of  San Fierro (kiem tra diem do tren radar)."); // car truck San Fierro
		}
		else
		{
			SetPlayerCheckpoint(playerid, 2098.6543,-104.3568,-0.4820, 5);
			GameTextForPlayer(playerid, "~w~Determination of delivery ~ r ~ harbor of Palamino", 5000, 1);
			SendClientMessageEx(playerid, COLOR_WHITE, "HINT: Back to the harbor of Palamino (kiem tra diem do tren radar)."); // Boat truck Plamaio
		}

		SetPVarInt(playerid, "tpTruckRunTimer", 30);
		SetTimerEx("OtherTimerEx", 1000, false, "ii", playerid, TYPE_TPTRUCKRUNTIMER);
		return 1;
	}
Reply
#2

please help me
Reply
#3

pawn Код:
if(gLastCar[playerid]==i)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)