View Full Version : Lock player into plane for set time?
salmo
10-10-2012, 08:06 AM
An unusual request I know, but I want to lock a human player into a plane for a pre-set time after they land. ie. not escape-key to refly, no exiting the airfield screen they have when they land until time expired.
code removed by author
FG28_Kodiak
10-10-2012, 03:30 PM
You can force the Player with player.PlaceEnter(..) back into his plane if he is trying to leave it. ;)
salmo
10-10-2012, 04:23 PM
You can force the Player with player.PlaceEnter(..) back into his plane if he is trying to leave it. ;)
Thankyou Kodiak, I'll try something like this ...
code removed by author
salmo
10-17-2012, 04:44 AM
Kodiak, This doesn't seem to work? Is it bugged?
code removed by author
theOden
10-18-2012, 09:22 AM
That code works for me.
Pressing Escape and clicking the flag to change aircraft I get returned into cockpit.
As host on my server.
Can you describe your process/environment, step-by-step?
vBulletin® v3.8.4, Copyright ©2000-2024, Jelsoft Enterprises Ltd.