feat: Added some really cool feature to the configs and add blips module#73
Closed
lehnihx wants to merge 5 commits into
Closed
feat: Added some really cool feature to the configs and add blips module#73lehnihx wants to merge 5 commits into
lehnihx wants to merge 5 commits into
Conversation
- Skip adding converted items if conversion returns nil - Return early if converted items list is empty - Ensure only valid converted items are added to radial menu - Improve stability by avoiding nil entries in menu setup loop
- Add "quick give keys" as a vehicle menu item configurable in client settings - Introduce conditional flip vehicle option in the radial menu when vehicle is flipped - Support additional vehicle items and windows configuration in the menu setup - Update English locale with "Quick Give Keys" label for new menu item - Ensure vehicle extras menu item appears when enabled in config
… items - Introduce flags to track player proximity to vehicles and players, and vehicle flipped state - Update menu setup to conditionally show items based on player state (onVehicleOnly, outSideVehicleOnly, nearByVehicleOnly, nearByPlayerOnly) - Add continuous background thread to monitor player and vehicle statuses and refresh radial menu accordingly - Extend config entries with new condition fields to control menu item visibility - Refactor vehicle menu setup to include vehicle flip option only when applicable
- Implement toggleable blip categories with show/hide functionality - Save and load blip visibility preferences in player metadata - Register toggleable blips and apply saved visibility on player load - Add commands and events to toggle specific blip categories like shops - Update locale strings for blip shown/hidden notifications - Bump fxmanifest version to 0.3.0 to reflect new features
- Added blip usage section to README including toggleBlip and registerToggleableBlip functions - Documented parameters and example usage for registerToggleableBlip feat(blips): implement toggleable blips with persistence support - Added loadBlipPreferences function to load blip visibility from player metadata - Set blip alpha visibility based on saved preferences on player load - Implemented toggleBlipsForCategory to show/hide all blips in a category - Created registerToggleableBlip to register individual blip handles under categories - Integrated blip toggling with metadata persistence and visibility updates - Exposed toggleBlip and registerToggleableBlip functions as exports for external use
lehnihx
commented
Jan 9, 2026
| id = 'quickgivevehkeys', | ||
| icon = 'key', | ||
| label = locale('options.quickgivekeys'), | ||
| serverEvent = 'qbx_vehiclekeys:server:quickgivekeys', |
Author
There was a problem hiding this comment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
fix(client): prevent adding nil items in radial menu conversion
feat(vehicle): add quick give keys option and flip vehicle menu item
eat(blips): add toggleable blip categories with persistence
docs(blips): add documentation for blip usage and API
Checklist