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
#2

Remove !~and it will work.. Because ! = wrong!

Hate : This forum requires that you wait 120 seconds between posts. Please try again in 41 seconds.
Reply
#3

I mean, if not a checkpoint checkpoint other than that, it means not to be.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)