13.03.2013, 13:01
pawn Код:
if(!IsPlayerInRangeOfPoint(playerid, 6, -1548.087524, 123.590423, 3.554687) || !IsPlayerInRangeOfPoint(playerid, 6, 2158.0596,-2294.5938,13.4570) || !IsPlayerInRangeOfPoint(playerid, 6, 2188.0466,-2264.9756,13.4770))
{// In the case the player finds a way to exploit the checkpoint to different location
CancelTruckDelivery(playerid);
SendClientMessageEx(playerid, COLOR_REALRED, "ERROR: Wrong checkpoint entered. Truck delivery canceled completely.");
return 1;
}
while checkpoint was set right.