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
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