Skip to content

Conversation

@LenixDev
Copy link

@LenixDev LenixDev commented Jan 9, 2026

Description

fix(qbx_afk): add disabled option to config and skip execution if dis…
feat(hud): add radio station disable option and refactor HUD handling
feat(ignore): disable melee attacks with weapons when configured
chore(fxmanifest): bump version to 0.3.0

Checklist

  • I have personally loaded this code into an updated Qbox project and checked all of its functionality.
  • My pull request fits the contribution guidelines & code conventions.

…abled

- Added "disabled" flag to config.json to enable/disable AFK functionality
- Updated server.lua to return early if AFK feature is disabled in config
- Prevents further execution when disabled to disable AFK checks and tracking
- Introduce config option to disable GTA radio station display in vehicles
- Cache the function to set radio station to optimize loop execution
- Override radio station function when the disable option is enabled
- Call setRadioStation and hide HUD components every frame in the main loop
- Disable specified controls and optionally display ammo in each frame
- Refactor client.lua for better readability and performance improvements
- Add configuration option to disable melee attacks with weapons
- Implement a continuous check to disable melee attack controls if player
  holds a weapon that is not melee or unarmed
- Prevent weapon melee attacks by disabling related control actions
- Ensure this feature runs on a dedicated thread for responsiveness
- Updated version in fxmanifest.lua from 0.2.0 to 0.3.0
@LenixDev LenixDev closed this by deleting the head repository Jan 23, 2026
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

Successfully merging this pull request may close these issues.

1 participant