Configuration

All configuration settings and the meanings of cxa-hud's settings.

You can join our Discord to stay updated and keep track of updates for all our resources.

Framework selection;

Write the framework you are using. If it's QBCore, use qb/ if it's ESX, use esx.

value: String value

Player count selection;

If there is no sv_maxclients setting in your server configuration file, the maxclients you set through the configuration file will be applied. If there is already an sv_maxclients setting in your server configuration file, it will automatically pull the data from there.

value: Number value

Fuel system selection;

If you are using the fuel system, write the resource name in the section where it says resourceName, or if you are not using it, set the UseCustomFuel section to false.

Seatbelt system configuration;

If you want to use our seatbelt system, you can enable it, or if you'd prefer to use another seatbelt system (e.g., smallresources), you can disable it.

Cruise control system configuration;

If you want to use our cruise control system, you can enable it, or if you'd prefer to use another cruise control system (e.g., smallresources), you can disable it.

Stress system configuration;

If you want to use the stress system, you can enable it and directly adjust stress levels through events in your server's systems. You can toggle the stress notification, set the minimum percentage for stress blur, specify professions that won't be affected by stress, and determine which weapons won't affect stress when used. Additionally, you can configure stress settings for when shots are fired, as well as stress settings for driving fast vehicles. You can also define the impact of food, drinks, swimming, and running on stress levels.

  • UseStress: If you want to use the stress system, you can enable or disable it.

  • StressNotify: You can toggle the stress notification on or off.

  • MinStressToBlur: Set the minimum stress percentage required to apply the blur effect.

  • StressWhitelistJobs: Define which jobs won't be affected by stress when they shoot (e.g., police, ambulance).

  • WhitelistedWeaponStress: Specify which weapons won’t increase stress when used (e.g., weapon_petrolcan, weapon_hazardcan, weapon_fireextinguisher).

  • AddStress:

    • on_shoot: You can configure stress to be added when shooting, including the minimum, maximum, and chance of getting stressed.

    • on_fastdrive: Configure stress to be added when driving fast, including the minimum speed required and the chance of getting stressed.

  • RemoveStress:

    • on_eat: Stress will be reduced when eating, and you can set the range of stress reduction.

    • on_drink: Stress will be reduced when drinking, and you can set the range of stress reduction.

    • on_swim: Stress will be reduced when swimming, and you can set the range of stress reduction.

    • on_run: Stress will be reduced when running, and you can set the range of stress reduction.

Notifications configuration;

You can modify the HUD's notifications and translate them according to your language.

Last updated