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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

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.