VEHICLE

GET_BOTH_VEHICLE_HEADLIGHTS_DAMAGED

0xEC69ADF931AAE0C3

Signature

// VEHICLE
BOOL GET_BOTH_VEHICLE_HEADLIGHTS_DAMAGED(Vehicle vehicle)

Parameters

Type Name
Vehicle vehicle

Return type BOOL

Build 505

Former names

  • _IS_VEHICLE_ENGINE_ON_FIRE

Documentation

Only ever used once in decompiled scripts: **am_pi_menu**: Returns true if the engine is on fire, or if the vehicle engine health is < 0 and it **has been** on fire. It sometimes doesn't return true when the vehicle engine has been on fire, and has since been fixed. I'm not really sure what the exact conditions are. This usually returns true even if there are no visible flames yet (engine health > 0). However if you monitor engine health you'll see that it starts decreasing as soon as this returns true.

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.