:IS_VEHICLE_HEADLIGHTS_ON
{
if 0AB1: @IS_VEHICLE_HEADLIGHTS_ON 1 car_handle 0@
then
//car headlight value is greater than 0
end
}
0A97: 31@ = car 0@ struct
if 31@ <= 0
then 059A: return_false
end
0A8E: 31@ = 31@ + 0x584
0A8D: 30@ = read 31@ sz 4 vp 0
if 30@ > 0
then 0485: return_true
else 059A: return_false
end
0AB2: 0