Commit Graph
853 Commits
Author SHA1 Message Date
Sinaps Dev 56043f06ed Merge branch 'main' of https://github.com/SinapsDev/community_bridge 2026-01-28 23:49:10 +01:00
Sinaps Dev f753b8ae97 fixed qbcore GetIsFrameworkAdmin method 2026-01-28 23:49:08 +01:00
MrNewb 9c4cbf6d25 Merge pull request #178 from TheOrderFivem/dev
Dev
2026-01-24 18:16:50 -05:00
MrNewb 98b883950d Add ZSX_UIV2 support for helptext, notify, and progressbar
Introduced new client modules for helptext, notify, and progressbar using ZSX_UIV2. Updated client and shared configuration files to include ZSX_UIV2 as an option for ProgressBarSystem, Notify, and HelpText. Bumped fxmanifest version to 0.13.2.
2026-01-24 18:08:34 -05:00
MrNewb 80dd16efa8 Merge pull request #176 from TheOrderFivem/behavior-replacement
Stripped away inefficient behavior system
2026-01-24 18:00:39 -05:00
Mr.Crowley 1f2519af5b took pr suggestions
removed print and added missed documentation
also missed passing id for anim, id is based off entitydata id
2026-01-12 16:42:44 -06:00
Mr.Crowley 4bc1925f4d Add UpdateRotation method to ClientEntity
Introduces ClientEntity.UpdateRotation to update entity rotation and apply it to the spawned entity if it exists. Also fixes SetKey to update the key before calling the handler.
2026-01-11 20:37:42 -06:00
Mr.Crowley 68ca928033 Stipped away inefficient behavior system
Refactored the entity system to be **property-driven** with automatic `On<Property>` change handlers.

Added improved `Bridge.Entity.SetOnCreate` support so clients can identify and attach logic to **server-created entities** based on properties.

Introduced standardized default properties on `Bridge.Entity.Create`, including:

* `freeze` (defaults to frozen)
* `invincible`
* `targets`
* `attach`
* `anim`

Added exported helper functions for all of the above to allow runtime updates after creation.
2026-01-11 18:36:07 -06:00
MrNewb 7d16eb3cc9 Merge pull request #174 from SinapsDev/main
IsVehicleOwnedByPlayer method
2025-12-28 16:28:38 -05:00
Sinaps Dev 0f2e41d72f IsVehicleOwnedByPlayer method 2025-12-28 17:10:26 +01:00
MrNewb 24061d8343 Merge pull request #173 from TheOrderFivem/dev
Remove cache and batch event libraries, update locales
2025-12-27 18:44:00 -05:00
MrNewb 48f8122197 Remove cache and batch event libraries, update locales
Deleted the cache and batch event libraries from the codebase, including all related client, server, and shared files. Removed server-side particle library and associated client event handlers. Updated utility and clothing modules to remove cache dependencies. Improved utility logging and deprecated point functions with notices. Updated all locales to use a consistent 'PurchasedItem' message format and added Bulgarian (bg) translation. Bumped version to 0.13.1 in fxmanifest.
2025-12-23 19:27:27 -05:00
MrNewb 5fd0744ca5 Merge pull request #170 from TheOrderFivem/dev
Dev
2025-12-14 16:23:45 -05:00
MrNewb 343af95794 Remove example scripts and update core logic
Deleted all files in the examples directory to clean up unused or test scripts. Updated fxmanifest.lua to enable ox_lib initialization. Improved error handling and entity tracking in utility functions, added prop removal, and made minor localization and code style adjustments throughout the codebase. Significant reword of inventory module, notification module, and framework module. Added support for wasabi_uikit, added support for keep-progressbars,
2025-12-14 16:22:35 -05:00
Mr.Crowley c40a260ea2 magic space was introduced with last patch
removed
2025-11-14 19:34:47 -06:00
Mr.Crowley a1901fc400 Bux fixes and cleanup
placeable_objects cleaned up white space and removed commented out code

points: issue with teleporting outside of a cell. Does not fire onremove event functions. Fixed

utility: Implemented fix for special characters for blips.

dialogue: upped wait time on close. This allows use to reopen the menu right away without firing the animation to close
2025-11-14 18:36:35 -06:00
MrNewb 5791f89598 Merge pull request #165 from TheOrderFivem/crowleys
This was crowleys commit and work - Refactor entity behaviors and imp…
2025-10-31 18:43:23 -04:00
MrNewb 444040dd39 This was crowleys commit and work - Refactor entity behaviors and improve particle handling
Refactored entity behavior triggers to simplify argument passing and added OnSet handler for particle behaviors. Improved particle effect management and event handling, updated locale and lib initialization in several modules, and fixed skill metadata access. Also streamlined point zone logic and menu/zone system initialization for better reliability.
2025-10-26 16:20:27 -04:00
MrNewb 179c3bad85 Add vehicle key integration modules
Introduces client-side modules for various vehicle key resources, each providing standardized GiveKeys and RemoveKeys functions. This enables compatibility with multiple vehicle key systems by abstracting their APIs behind a common interface.
2025-10-26 15:20:45 -04:00
MrNewb 266697b1fe Remove all vehicle key client modules
Deleted all client-side vehicle key integration modules from both 'vehicleKey' and 'vehiclekey' directories. This change likely reflects a refactor, migration, or deprecation of the vehicle key system integrations.
2025-10-26 15:20:31 -04:00
MrNewb 1d9431f88e folder name changes 2025-10-26 15:19:35 -04:00
MrNewb b42219f0a3 Merge pull request #163 from divide29/main
add integration for emergencydispatch
2025-10-21 09:06:42 -04:00
divide29 ff57646be2 fix: wrong index in data.jobs client 2025-10-21 13:04:34 +00:00
divide29 85e784b3f6 fix wrong index in data.jobs 2025-10-21 09:58:34 +00:00
MrNewb b165bf35a1 Bump version to 0.13.0 in fxmanifest.lua
Updated the version number in fxmanifest.lua from 0.12.1 to 0.13.0 to reflect new changes or improvements.
2025-10-19 23:18:57 -04:00
MrNewb 3a9424659b Refactor Dispatch.SendAlert for clarity
Assigns alert data to a local variable before passing it to exports.tk_dispatch:addCall, improving readability and maintainability.
2025-10-19 23:04:54 -04:00
MrNewb 664b397404 Refactor Target resource name function placement
Moved the GetResourceName function definition to the top of both ox_target and qb-target client modules for consistency and clarity. Also performed minor code cleanup and reordering for improved readability.
2025-10-19 22:59:18 -04:00
Mr.Crowley 45a98528b1 Merge pull request #160 from Luke20201/main
Add fd_dispatch support
2025-10-19 21:58:17 -05:00
MrNewb 7b18956cbf Fix number generation in CreateUniqueId function
Replaces direct number insertion with string formatting to ensure numbers are appended as strings when generating unique IDs.
2025-10-19 22:43:55 -04:00
MrNewb 529c597585 Add input submit_text translations to locales
Introduces the 'input.submit_text' key with appropriate translations for all supported languages. Also updates and expands some placeable_object and clipboard strings in af.json for improved clarity and consistency.
2025-10-19 22:43:07 -04:00
MrNewb 61f4d05f0a Add descriptions to framework job count functions
Added @description annotations to all relevant functions and event handlers in both client and server framework modules for improved code documentation and clarity.
2025-10-19 22:21:22 -04:00
divide29 c6759228a3 add integration for emergencydispatch 2025-10-17 22:50:00 +00:00
MrNewb 19911d9173 Refactor target system client logic and zone functions
Simplifies debug flag initialization and resource state checks in both ox_target and qb-target client scripts. Updates Target.FixOptions to streamline option handling and canInteract logic. Target.AddBoxZone and Target.AddSphereZone now return the zone name for improved usability.
2025-10-15 18:05:56 -04:00
Mr.Crowley 05bee5e743 Hotfix
doubled grid size to accomidate cayo and hopefully ny
2025-10-14 00:26:48 -05:00
MrNewb 15e5249927 Add fivemanage log system support
Introduces a new 'fivemanage' log system option in serverConfig and implements its handler in logs.lua. Also refactors log handler functions for consistency and updates the default LogSystem to 'none'.
2025-10-12 22:13:33 -04:00
MrNewb a7b3a34998 Add LuaDoc @description to fuel API functions
Replaced comment blocks with LuaDoc @description tags for GetResourceName, GetFuel, and SetFuel functions across all fuel module client files. This improves code documentation consistency and supports better tooling integration.
2025-10-12 21:54:52 -04:00
MrNewb c73faa43db Add checks for alternative inventory resources
Added resource state checks for 'codem-inventory' and 'origen_inventory' in both client and server scripts to ensure compatibility and prevent conflicts when those resources are present.
2025-10-12 21:53:27 -04:00
MrNewb c582ce69e9 Add check for 17mov_CharacterSystem resource
Added a conditional check for the '17mov_CharacterSystem' resource in all clothing module scripts. This prevents the modules from loading if '17mov_CharacterSystem' is present, improving compatibility and avoiding conflicts.
2025-10-12 21:52:12 -04:00
MrNewb 91e295947b Merge pull request #162 from solaire-fivem/qb-core-code-cleanup
Enforcing consistent annotations and fixing spelling mistakes
2025-10-05 18:56:23 -04:00
solaire-fivem 3ce3b7fe57 Enforcing consistent annotations and fixing spelling mistakes 2025-10-04 19:39:26 +01:00
MrNewb 3498011103 Merge pull request #161 from Mustachedom/dev
`feature` Prints now auto formats json to go downwards in prints so its easier to read
2025-09-29 04:58:23 -04:00
Mustache Dom b96a64f371 feature Prints now auto formats json to go downwards in prints so its easier to read
`useCase`


```lua
Prints.Debug('GTA', 5, {is = true, cool = true})
```
2025-09-29 01:31:46 -07:00
Luke20201 ab414b2b48 fix location returning hash instead of string 2025-09-28 18:11:14 +01:00
Luke20201 c0e5241d40 add fd_dispatch support 2025-09-28 17:26:03 +01:00
MrNewb d7c58b6bf4 Merge pull request #159 from ONyambura/dev
FIX - QB-Core - Framework/Inventory - Item properties fix
2025-09-26 14:27:47 -04:00
ONyambura a4959882b3 FIX - QB-Core - Framework/Inventory - Item properties fix
QB-Core Framework.
Some inventories has item property `count` instead of `amount`.
+/- Added fallback to `count` if `amount` doesn't exists.
2025-09-26 19:02:30 +03:00
Mr.Crowley c985261cf3 Fix SetEntityCoords last arg to false in UpdateEntity
Changed the last argument of SetEntityCoords from true to false in the UpdateEntity function to adjust entity movement behavior.
2025-09-18 23:47:03 -05:00
MrNewb 582ce9e640 Refactor item info retrieval in inventory modules
Updated Inventory.GetItemInfo to use the full items table for lookups instead of fetching individual items. Added Inventory.Items function to both client and server for consistent access to the items table. Improved handling of missing data and streamlined code for better maintainability.
2025-09-13 18:04:05 -04:00
MrNewb 41c90f9082 Add wasabi_mdt dispatch integration
Introduces client and server modules for dispatch integration with the wasabi_mdt resource. Provides functions to send alerts and retrieve the resource name, enabling compatibility with the wasabi_mdt dispatch system.
2025-09-11 17:34:54 -04:00
MrNewb 3dfbaa8573 Localize target menu and interaction prompts
Replaced hardcoded target menu titles, descriptions, and interaction prompts with localized strings from en.json. Updated client.lua to use Language.Locale for menu and help text, improving internationalization and consistency.
2025-09-10 21:47:58 -04:00