Commit Graph
44 Commits
Author SHA1 Message Date
MrNewb 58ab40d14e cachedItemList 2025-07-09 22:17:24 -04:00
MrNewb 33a9b6ba69 Framework.ItemList for esx and a catchall for qbox 2025-07-09 22:08:44 -04:00
MrNewb 5dc2321d67 Remove all uses of ox_lib callbacks in favor of internal option
This seems fine, Crowley created the callback system in bridge so will need review
2025-06-28 16:52:01 -04:00
MrNewb 854482094a small tweaks 2025-06-21 07:53:49 -04:00
No.1 63349d32a8 fix(returns): Fixed errors in many operations in the ESX Framework because there is no return 2025-06-11 21:03:19 +03: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 3a141cb8f2 GetIsFrameworkAdmin 2025-06-01 23:12:32 -04:00
MrNewb 7fc9ee4956 docs: refine framework notes, params, and return documentation 2025-05-30 03:21:32 -04:00
MrNewb 68e81b720a should resolve start order issues 2025-05-18 23:45:37 -04:00
MrNewb 6b660d8084 feat: GetPlayerJobData
return {
        jobName = jobData.name,
        jobLabel = jobData.label,
        gradeName = jobData.grade_name,
        gradeLabel = jobData.grade_label,
        gradeRank = jobData.grade,
        boss = isBoss,
        onDuty = jobData.onduty,
    }
2025-05-14 04:48:23 -04:00
MrNewb 99f82095d7 fuck 2025-05-13 01:06:52 -04:00
MrNewb 5e016afc25 fix sharedConfig load order 2025-05-11 20:18:46 -04:00
JericoFX 78bb1f8c05 Add utility functions for player data retrieval and enhance existing functions 2025-05-11 12:16:49 -03:00
MrNewb 7e0124f02e returns added everywhere per crowleys request 2025-05-10 00:01:56 -04:00
Johann Kraus 1242d9ef7c Add GetPlayer functions to framework and New FUnctions to Utility 2025-05-09 23:06:01 -03:00
gononono64 69edf6f6ab forgot qbox and did some cleanup 2025-05-09 20:09:57 -05:00
gononono64 38d0d5527a New features and cleanup
Added Networked Markers
Added Anim module
Added framework default file for things that are native to game related to player
Started on a batch network event trigger to allow for single event call for multiple events

Updated params notation for ids
Removed prints from client_entity + actions + ext
2025-05-09 19:06:50 -05:00
MrNewb 11114bf529 core_inventory compatibility
The current implementation isn’t the cleanest, but it gets the job done. I’ve had to rig parts of it together, and it hasn’t yet had a proper cleanup pass. This update adds support for core_inventory on both ESX and QB frameworks. Previously, the QB fallback worked fine, but an issue affecting ESX users was discovered.

To resolve this, a change was needed in how framework-registered usable items are handled—allowing us to pass the item’s ID as the slot when using core_inventory, while maintaining slot-based behavior otherwise. This approach ensures compatibility without requiring any modifications to other resources.

I've personally tested this on ESX, but since I haven’t been able to coordinate with the core_inventory team, QB Core users will essentially be the first wave of testers for this integration.
2025-05-06 14:39:29 -04:00
MrNewb 3e6bc0dd81 account type for qb format to esx 2025-05-05 10:45:00 -04:00
gononono64 3c96d6a2bc GetIsPlayerDead added
Added GetIsPlayerDead to framework serverside. Needs testing on esx and qbox
2025-05-02 03:13:07 -05:00
MrNewb 81ab66fbbf rumaier found a bug 2025-05-01 11:44:22 -04:00
MrNewb 5d3a9d1950 Get/SetPlayerDuty 2025-04-15 08:04:43 -04:00
MrNewb 01f7b385c1 comments + disable dup warning 2025-04-15 03:00:44 -04:00
MrNewb 870f440a1b GetPlayers added
while theres a native to do this, the purpose of this is using the framework methods, this will only return logged in players ie wont include people who are in multichar and still not logged in
2025-04-14 01:16:06 -04:00
MrNewb 8b59fe22aa get framework jobs
These are not the same format, will need touchups
2025-03-10 01:17:18 -04:00
gononono64 f713fe2254 skibbity
bibbity bop
2025-03-09 23:13:03 -05:00
MrNewb dee14600ba HasItem + partial support for shops 2025-03-07 04:08:40 -05:00
MrNewb b77fbeffa8 player/xplayer guards 2025-03-03 02:05:53 -05:00
MrNewb b03e83933f feat(Framework.GetPlayerDob)
available now on supported cores near you!
2025-02-26 01:34:47 -05:00
MrNewb fc7fd01d5f stuff 2025-02-10 02:02:33 -05:00
MrNewb a08c22afed Get player owned vehicles added for esx/qb/qbx/nd 2025-02-03 10:26:05 -05:00
MrNewb 3a9d85aa1b Added - Framework.GetFrameworkName()
Useful in situations that need run for framework specific tables
2025-01-31 19:23:47 -05:00
MrNewb 1d23d256c0 playerdropped handler 2025-01-27 18:42:38 -05:00
MrNewb 65f4b32b45 OnPlayerUnload events
(untested) atm, will test later today
2025-01-27 14:41:16 -05:00
gononono64 2ee6286c7a yeeted itemName
Yeeted itemName because redundant and example given previously by newb was this:

```lua
 ...
    function(src, itemData)
 ...
```
2025-01-26 12:07:26 -06:00
gononono64 a30b63a2cd undoing esx need to talk to newb for convention 2025-01-26 11:24:40 -06:00
gononono64 1485af3678 Matched qbcore and esx to usable convention
Tested in both esx and qb using mrc tv which relies on itemdata.metadata (using remotes)
2025-01-26 11:18:55 -06:00
MrNewb 2ee4216f57 test 2025-01-14 12:04:08 -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 b1a23c79d4 RegisterCommand for esx 2025-01-12 13:01:16 -05:00
MrNewb 7e294b55fa Duty Toggles
Needs Tested
2025-01-12 12:55:29 -05:00
MrNewb 1035c209e3 Revert "RegisterUsableItem -- > CreateUseableItem"
This reverts commit 2c662b1ecb.
2025-01-08 12:51:46 -05:00
MrNewb 2c662b1ecb RegisterUsableItem -- > CreateUseableItem 2025-01-08 12:28:05 -05:00
MrNewb 47977ce701 version '0.0.7' 2025-01-08 06:33:31 -05:00