26.09.2012, 11:42
SOLVED
if(IsPlayerInRangeOfPoint(playerid, ...)
if(IsPlayerInRangeOfPoint(playerid, 20.0,1869.8599,-2493.2256,13.5547))
{
Island[Los_Santos][playerid] = SetPlayerFlightCheckpoint(playerid, 1869.8599,-2493.2256,13.5547, 10.0);
IslandName="Los Santos";
}
else if(IsPlayerInRangeOfPoint(playerid, 20.0,-1437.0648,48.4609,14.1484))
{
Island[San_Fierro][playerid] = SetPlayerFlightCheckpoint(playerid, -1437.0648,48.4609,14.1484, 10.0);
IslandName="San Fierro";
}
else if(IsPlayerInRangeOfPoint(playerid, 20.0,1476.5433,1465.9758,10.8281))
{
Island[Las_Venturas][playerid]=SetPlayerFlightCheckpoint(playerid, 1476.5433,1465.9758,10.8281, 10.0);
IslandName="Las Venturas";
}