Error Checkpoint
#1

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;
                }
each of the checkpoint was, would always bring up: ERROR: Wrong checkpoint entered. Truck delivery canceled completely.
while checkpoint was set right.
Reply


Messages In This Thread
Error Checkpoint - by Scott Zulkifli - 13.03.2013, 13:01
Re: Error Checkpoint - by Scrillex - 13.03.2013, 13:34
Re: Error Checkpoint - by Scott Zulkifli - 13.03.2013, 13:37

Forum Jump:


Users browsing this thread: 1 Guest(s)