Thread: Loadouts
View Single Post
  #2  
Old 11-12-2011, 04:36 AM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

Quote:
Originally Posted by AKA_Scorp View Post
One other thing, is is possible to stop a player from creating another aircraft after he creates one? I'm looking at a way to keep a pilot in his aircraft once he has taken off until he has landed, bailed, disconnected etc.
Yes its possible you can use

this Member from maddox.game.Player to force the player to a specific plane:
void PlaceEnter(maddox.game.world.AiActor actor, int indxPlace)

and this to kick him out of a plane
void PlaceLeave(int indxPlace)
Reply With Quote