Jump to content
The simFlight Network Forums
FlyingCoder

How can i track number of passengers ?

Recommended Posts

Hello, is there a way for me track the number of passengers boarding the plane? I'm trying to integrate how gsx track the number of passengers boarding the planes but no idea how

Share this post


Link to post
Share on other sites

FSX and P3D do not simulate passengers.

If you have GSX and want to track GSX passengers then I think there are L:Vars you can access. I don't have GSX so you'll need to ask in their support forums. Or they may have an SDK you can download.

Paul

Share this post


Link to post
Share on other sites

Ah okay thank you. Do you know if there is anyway for me to make the green message box appear and put my own customer text?

Share this post


Link to post
Share on other sites

Yes you can use offsets 0x3380 and 0x32FA. See the offsets documentation for details, but in summary:

  1. Declare an offset for 3380 (string with length 128)
  2. Declare an offset for 32FA (Short)

It's important they are in this order. 3380 must be declared first.

Mark them both as write only and put them in their own group (e.g. SendText).

When you want to write text:

  1. set the text in 3380.
  2. Set 32FA depending on how to want the text displayed (see the docs).
  3. Process the "SendText" group.

Paul

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.