View Single Post
  #40  
Old 04-27-2011, 02:05 PM
ZaltysZ's Avatar
ZaltysZ ZaltysZ is offline
Approved Member
 
Join Date: Sep 2008
Location: Lithuania
Posts: 426
Default

Guys, don't bother with engines, kill fuel pump instead (all engines should stop).

By the way, what will happen if player presses "Create" multiple time? There will probably be lots of planes on ground without working controls and engines. There is handy method IsAirborne(). If it returns false, plane should be destroyed immediately; if it returns true, only then disabling of controls should commence.

Last edited by ZaltysZ; 04-27-2011 at 02:09 PM.
Reply With Quote