if(CP[playerid] == 1) // Drivers License Test { if(IsPlayerInRangeOfPoint(playerid, 319.2102,-64.4278,1.5781, 3.0)) // Checkpoint 1 { SetPlayerCheckpoint(playerid, 319.2102,-64.4278,1.5781, 3.0); } else if(IsPlayerInRangeOfPoint(playerid, 319.2104,-64.4278,1.5781, 3.0)) // Checkpoint 2 { SetPlayerCheckpoint(playerid, 240.9276,-69.0872,1.4160, 3.0); } else if(IsPlayerInRangeOfPoint(playerid, 240.9276,-69.0872,1.4160, 3.0)) // Checkpoint 3 { SetPlayerCheckpoint(playerid, 1230.8800,-201.7708,1.4283, 3.0); } else if(IsPlayerInRangeOfPoint(playerid, 230.8800,-201.7708,1.4283, 3.0)) // Checkpoint 4 { SetPlayerCheckpoint(playerid, 180.6753,-221.7077,1.4229, 3.0); } else if(IsPlayerInRangeOfPoint(playerid, 180.6753,-221.7077,1.4229, 3.0)) // Checkpoint 5 { SetPlayerCheckpoint(playerid ,225.4816,-283.1839,1.4297, 3.0); } else if(IsPlayerInRangeOfPoint(playerid, 225.4816,-283.1839,1.4297, 3.0)) // Checkpoint 6 { SetPlayerCheckpoint(playerid, 233.2146,-220.0327,1.4205, 3.0); } else if(IsPlayerInRangeOfPoint(playerid, 233.2146,-220.0327,1.4205, 3.0)) // Checkpoint 7 { SetPlayerCheckpoint(playerid, 322.0705,-213.9870,1.2959, 3.0); } else if(IsPlayerInRangeOfPoint(playerid, 322.0705,-213.9870,1.2959, 3.0)) // Checkpoint 8 { SetPlayerCheckpoint(playerid, 335.4113,-150.7161,1.4196, 3.0); } else if(IsPlayerInRangeOfPoint(playerid, 335.4113,-150.7161,1.4196, 3.0)) // Checkpoint 9 { SetPlayerCheckpoint(playerid, 335.7505,-102.2534,1.3864, 3.0); } else if(IsPlayerInRangeOfPoint(playerid, 335.7505,-102.2534,1.3864, 3.0)) // Checkpoint 10 { SetPlayerCheckpoint(playerid, 322.7780,-70.6691,1.4297, 3.0); } else if(IsPlayerInRangeOfPoint(playerid, 322.7780,-70.6691,1.429, 3.0)) // Checkpoint 11 { SetPlayerCheckpoint(playerid, 320.7005,-58.3920,1.5781, 3.0); } else if(IsPlayerInRangeOfPoint(playerid, 320.7005,-58.3920,1.5781, 3.0)) // Checkpoint 12 { |
SetPlayerCheckpoint - If a checkpoint is already set it will use the size of that checkpoint instead of the new one. - If the checkpoint is set on a custom object or a non-solid surface it will show floating above the surface. |