if(GetVehicleModel(i)) { GetVehiclePos(i, x, y, z); if(GetPlayerDistanceFromPoint(playerid, x, y, z) <= distance) return 1; }