Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better headlight detection #48

Open
Frouk3 opened this issue Sep 5, 2023 · 0 comments
Open

Better headlight detection #48

Frouk3 opened this issue Sep 5, 2023 · 0 comments

Comments

@Frouk3
Copy link

Frouk3 commented Sep 5, 2023

https://github.com/ExOptsTeam/NFSCExOpts/blob/36e383915d1dcab60dcca6b4587f145bf9bdfc27/NFSCExtraOptions/dllmain.cpp#L1082C4-L1082C4

it would be better because when we disable the headlight and go again into free roam, you would need to press headlights twice

headlightsMode = PVehicle_IsGlareOff(PlayerPVehicle);
// if its off then we should on
// would look
if (headlightsMode) // means off
... // then we enable
else
... // disable part
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant