Commit Graph
60 Commits
Author SHA1 Message Date
MrNewb a280606c3d feat Framework.GetIsPlayerLoaded, locale tweaks 2025-07-10 13:50:47 -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 4da73dbc48 GetAccountBalance 2025-06-11 23:15:15 -04: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 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 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 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 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 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 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
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 7b03dba08f death check tweaks 2025-02-22 20:20:08 -05:00
PenguScripts b653241826 Update client.lua 2025-02-17 13:33:54 -05:00
PenguScripts 167f0c8b81 Update client.lua 2025-02-17 13:33:20 -05:00
MrNewb fc7fd01d5f stuff 2025-02-10 02:02:33 -05:00
MrNewb 2fa129dddd re-add requestanimdict, add notify/showhelp to the frameworks that offer it
qbx uses ox's so no point
2025-02-05 22:51:43 -05:00
MrNewb 2a326c4811 GetPlayerInventory client side, event fires client now
community_bridge:client:inventory:updateInventory
2025-02-05 01:54:55 -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 0c90d659a0 export GetInventoryItems standard, add export GetItemBySlot 2025-01-31 19:15:33 -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 b3720a0bfc reverting until newb comes around. Switched qbox to match
Im not 100% on which convention he wants
2025-01-26 11:22:53 -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