Commit Graph
93 Commits
Author SHA1 Message Date
MrNewb a280606c3d feat Framework.GetIsPlayerLoaded, locale tweaks 2025-07-10 13:50:47 -04:00
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
MrNewb 61f3f09c19 ESX.Game.SetVehicleProperties fix 2025-06-12 08:24:12 -04:00
MrNewb 50f822bf20 oops ESX.Game.SetVehicleProperties 2025-06-12 07:47:06 -04:00
MrNewb 395629af17 GetAccountBalace (client) fixed for esx
This will return the players money by type, I recommend not using this as its the client and not secure or to be trusted.
Use case is for a ui or a menu I guess?
2025-06-12 06:49:41 -04:00
MrNewb ebdaf5be94 Merge pull request #115 from harbiyelidev/dev
fix(returns): Fixed errors in many operations in the ESX Framework be…
2025-06-12 06:18:39 -04:00
MrNewb 4da73dbc48 GetAccountBalance 2025-06-11 23:15:15 -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
MrNewb 33868c43c4 Get/Set vehicle props 2025-06-08 19:40:49 -04: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 3652f2b1bd small patch for qbx when config not set 2025-05-15 11:16: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 20c348824d fixfixfix 2025-05-14 03:47:28 -04:00
MrNewb 5629bab494 Update server.lua 2025-05-13 01:25:47 -04:00
MrNewb 99f82095d7 fuck 2025-05-13 01:06:52 -04:00
MrNewb 2a5fa897a9 Revert "psuh for crowley"
This reverts commit 0dc3d51319.
2025-05-13 00:22:49 -04:00
MrNewb 0dc3d51319 psuh for crowley 2025-05-12 23:13:08 -04:00
MrNewb 567bd7a824 TODO 2025-05-11 20:36:07 -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 6f700ed7cf Update client.lua 2025-05-09 19:07:17 -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 e1235dfc7c reorganized, notation 2025-05-09 06:03:09 -04: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
gononono64 93ebca8762 Merge branch 'dev' of https://github.com/The-Order-Of-The-Sacred-Framework/community_bridge into dev 2025-05-05 13:57:09 -05:00
MrNewb 3e6bc0dd81 account type for qb format to esx 2025-05-05 10:45:00 -04:00
gononono64 3cb9829f4f Qs-inventory and Framework IsPlayerDead fixes
qs item info had typo. IsPlayerDead was missing last stand for qb
also removed couple debug prints
2025-05-04 11:06:55 -05: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 2fd01dd2ae missing hidehelptext stuff 2025-04-28 10:10:15 -04:00
gononono64 bd0074a156 Inventory Update
Added serverside iteminfo and consolidated image path. Now returns full nui path in .image
2025-04-16 05:24:03 -05: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 801db83402 GetItemInfo fixes, oops
Ive also adjusted comments in here because it bugged me.
2025-04-12 02:30:38 -04:00
MrNewb 29d75163a9 intelisense stuff 2025-04-08 19:10:02 -04:00
MrNewb e5190cdca0 client side GetItemCount
Qbox is hardcoded for ox and the only inventory I know that supports it other than ox is quasar, both are bridged so should be completely fine
2025-04-07 14:37:22 -04:00
gononono64 8fd5de2d4e lib structure overhaul
restructured lib portion to match modules
also edited community bridges onplayerunload fire to accept the passed src as it was otherwise nil
2025-03-30 21:06:58 -05: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