Jump to content

SouthwestVA

Members
  • Posts

    71
  • Joined

  • Last visited

Posts posted by SouthwestVA

  1. didn't say i wouldn't buy this i just cleared out that this was already out there.

    in my honnest opinion its ok that everybody brings on addons for phpvms and even get paid for this by selling the module but i would suggest try to bring something that is new and not a copy(not ment as copying it over from simpilot his code) there are many good things i still would like to see here in the forum not just a existing thing

    What should I make? No one responds to module requests.

  2. $flights = ACARSData::GetACARSData();
    $acars = count(ACARSData::GetACARSData());
    $pilots = PilotData::getAllPilots();
    if($acars > 0)
    {
    foreach($pilots as $pilot)
    {
    $pilotid = $pilot->pilotid;
    foreach($flights as $flight)
    {
    $pilotflight = $flight->pilotid;
    if($pilotflight == $pilotid){$status = 1;} else {$status = 0;}
    }
    }
    }
    else
    {
    }
    

    It only returns the last pilot. Ex. XXX001 XXX002 XXX003 are all flying, only returns 003 as flying. Anyone?

×
×
  • Create New...