View Single Post
  #158  
Old 05-24-2011, 01:26 PM
ZaltysZ's Avatar
ZaltysZ ZaltysZ is offline
Approved Member
 
Join Date: Sep 2008
Location: Lithuania
Posts: 426
Default

Instead of;

Code:
if (aircraft.Name() == GamePlay.gpPlayer().Place().Name())
try

Code:
if (aircraft == GamePlay.gpPlayer().Place())
By the way, GamePlay.gpPlayer() returns player of offline mission. This won't return a client player in MP, so if you are doing MP mission, this won't work.
Reply With Quote