39 Commits
Author SHA1 Message Date
Mr.Crowley ad8788bbfd Invoking can return nil
Added fallback for current resource, future proofing against require and fixing entities target property
2026-08-14 17:38:09 -05:00
Luke 14779773ac ox_target cleanup when invoking resource is stopped 2026-04-19 17:20:19 +01: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 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
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
MrNewb 90c65dc55e Add GetResourceName function to all modules
Introduces a standardized GetResourceName function to banking, clothing, dispatch, doorlock, framework, fuel, helptext, housing, and other modules. This function returns the name of the in-use resource, improving resource identification and interoperability across the codebase.
2025-09-10 12:27:12 -04:00
Mr.Crowley b06d2fb49e Discarded entityactions and updated target
Discarded entityactions: was not used and bloat. Need a new system that handled networked entities static vs dynamic (non-moving non networked vs moving networked)

updated target to improve performance on canInteract. It seems that the target systems spam this function. Using a state and checking every second instead of allowing spamming

Added ClientEntity.ChangeModel
2025-08-20 22:23:07 -05:00
Mr.Crowley 140bad5b34 made woopsie to entities 2025-08-05 20:57:26 -05:00
Mr.Crowley a1e65a7dff made some changes to input and target
targets now accept event

fixed a check for .action passed to ox fix options

input will now return in qbs format if qb is used (passed as true).. this makes converting qb resources infinitely simpler
2025-07-29 05:22:55 -05:00
Mr.Crowley 466e86bfdb targets and inventory update
Targets:

sphearzone should not take a heading, removed

optional debug at the end for individual debugging

Inventory:

Added OpenPlayerInventory for all inventories.
2 (aka codem and qs) did not have clear documentation. Probably doesnt work
2025-07-28 00:10:51 -05:00
Mr.Crowley 2ad1f4669c small update
target got a print if onSelect or action are nil

also added groups in fixoptions for sleepless

client entities using return for loadmodel
2025-07-24 05:03:07 -05:00
MrNewb 5ea2d32b88 should handle network id based targeting add/remove 2025-07-09 05:34:41 -04:00
MrNewb a2a1d76cef fix: improve sleepless_interact compatibility, clean up unused code
- Fixed issues with sleepless_interact module not loading
- Removed unnecessary commented-out code
- Performed general code organization and cleanup
2025-06-21 07:45:56 -04:00
MrNewb ff69aa160d AddGlobalPed/RemoveGlobalPed 2025-06-11 21:59:58 -04:00
MrNewb c71a261115 chore(intellisense): improve parameter annotations and add missing comments
Touched up incorrect or missing Intellisense parameter annotations across several functions. Added some missing descriptions to improve editor support. Still more to do, but this is a small step forward for overall developer workflow. Also small fix in picklexp
2025-06-07 22:50:13 -04:00
gononono64 8ddddf5329 shells
keep in mind target is now requirable using the init file in its default folder
2025-06-06 20:39:55 -05:00
MrNewb c5ae1f1bd7 Merge pull request #112 from antonionevesss/main
refactor(target): added second var to remove specific options
2025-06-04 22:24:26 -04:00
António Neves a697c5b9db refactor(target): added second var to remove specific options 2025-06-05 00:49:27 +01:00
gononono64 3fa933fab1 Cleanup and placeable_object replacement
Added cleaned up and improved functionality for placeable object.
Example is in unit tests.

Cleanup whitespace and removed accessibility as not used/not documented and doesnt appear to be useful with our current work flow
2025-06-04 15:29:21 -05:00
gononono64 34d24cb6a9 Targets, entities and events, oh my!
Targets updated to have boxzone
Entities dont require a model and are effectively points with on spawn on despawn
onplayerloaded and onplayeriunloaded now pass source
2025-06-02 22:19:42 -05:00
MrNewb 68e81b720a should resolve start order issues 2025-05-18 23:45:37 -04:00
MrNewb 7e0124f02e returns added everywhere per crowleys request 2025-05-10 00:01:56 -04:00
cityparadise 985b71442c Remove Client Based Debug
- Removed Client Based Debug Option (using shared in settings folder.)
2025-04-14 12:18:44 +01:00
MrNewb 24cb04a01b structure
arrangement's moved around, easier to find. Touched up the notes
2025-04-08 19:27:34 -04:00
OGReaper abb5e21e03 zones 2025-04-05 20:58:13 +13:00
MrNewb 4e95d7e9b4 stuff 2025-03-10 02:08:52 -04:00
MrNewb ea3b9040ce ModuleName for target and DisableTargeting added 2025-03-10 01:38:37 -04:00
MrNewb 064d3b7ccd target to new format 2025-03-04 22:28:34 -05:00
MrNewb b0f1704806 target to auto or manual 2025-03-03 19:09:06 -05:00
MrNewb ce1903b7d6 more documentation 2025-03-03 01:37:29 -05:00
MrNewb 00e20f8f94 partial support for sleepless interact 2025-02-24 11:07:52 -05:00
MrNewb a8dc8efb00 RemoveGlobalVehicle 2025-02-20 14:50:27 -05:00
MrNewb edd596e932 fix 2025-02-07 23:54:15 -05:00
gononono64 84480f8939 dkm
Ripped a part utility folder and shoved it into a lib. Changed a lot of Utility prefixes to the modules name. This contains breaking changes. Scripts that use 0.2.0 will need to update to match the new format
2025-02-05 17:42:50 -06:00
jamazzz d18c5cfe2c update: add missing options 2025-01-29 01:37:00 +00:00
MrNewb fe02d77b58 AddGlobalVehicle 2025-01-25 17:59:19 -05:00
gononono64 2467aa31a0 fixed some stuff
involved word casing and register useable doing stuff in a tidy way uhhhhhhh... fuck you qwezert
2025-01-14 10:55:14 -06:00
MrNewb d2bc7ff921 fix: Correct "not" operators placement and update function casing
- Fixed the placement of "not" operators in the code to ensure proper logic.
- Corrected the casing of a helper function to maintain consistency.
- Reworded the description for better clarity and alignment with Git commit terms.
- Updated the bridge description to highlight its community-driven approach.
- Fixed minor syntax and readability issues throughout the documentation.
2025-01-08 06:53:55 -05:00
MrNewb 47977ce701 version '0.0.7' 2025-01-08 06:33:31 -05:00