View Single Post
  #22  
Old 05-23-2012, 07:02 AM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

you get the Aircraft via player.Place()

Code:
if (player.Place() != null && player.Place() is AiAircraft)
{
        AiAircraft aircraft = player.Place() as AiAircraft;

        
}
Reply With Quote