Jump to content
  • 0
Sign in to follow this  

[udp 2018] get time gap with ghost in trial

Question

Guest
Hi everyone, I'm creating my personal app for F1 2018, and I am trying to get the time gap between me and my own ghost (in trial). I've managed to get the final time that you can find in the leader board, but my ghost's m_currentLapTime is always equal to zero. How can I get the gap without this ? We can see it on the car's steering wheel and on the top right corner for example.(I've probably missed something btw).
Thanks !

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

  • 0
Guest
Sorry to ask a dumb question, but are you using the right PlayerIndex for the ghost?
I've just checked and I can see the time on m_currentLapTime ( after opening a lap ).


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
Sign in to follow this  

×