Commit Graph
119 Commits
Author SHA1 Message Date
Mr.Crowley 2fd5c7c08f Update client_entity.lua
Added skip to remove so we dont call external on remove.
2025-07-28 00:58:02 -05:00
MrNewb 88b4daa2e8 migrate cache.ped to PlayerPedId() 2025-07-28 01:37:52 -04:00
Mr.Crowley 0970bdd604 migrated management to banking
also fixed loadmodel typo
2025-07-25 02:51:14 -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 9c98bd00f3 Update callbacks.lua 2025-07-20 00:38:35 -04:00
gononono64 b4679f1866 fixed old placer locale issue 2025-07-09 08:10:01 -05:00
gononono64 003153be63 entity adjustments
depricating register / unregister and replacing with Create/Destroy to follow convention
math.Inbounds checks a list of points (table.points = vector3[] minZ = int || -math.huge, maxZ = int || math.huge)
2025-06-30 15:18:01 -05:00
gononono64 725a86ed8d placeable objects + small tweaks
skills booboo. This should do it (working properly now)
utility shortnames used for command buttons getter
en.json added placeable tags (was missing 1) NEEDS OTHER CONVERSIONS

Placer: Lots of stuff. Pass model and settings. Refer to .lua for setting params
2025-06-30 02:07:20 -05:00
gononono64 9b44fcbc16 small tweaks
entities now has register bulk
added docs to a function for sql module
added table.count
2025-06-22 17:40:41 -05:00
MrNewb 3f7e87b710 oops 2025-06-21 09:12:24 -04:00
MrNewb 854482094a small tweaks 2025-06-21 07:53:49 -04:00
MrNewb 9edcb229f3 patch 2025-06-10 06:13:19 -04:00
MrNewb 854ca2bd61 This is a holy grail of a find.
This will pull the currently bound key as a string from a command.
Use case - allow users to rebind keys for a command, this can then pull what they have bound as a string. Very useful for ui/helptext/notifications to display the correct key in use.

The codes messey but its because the special chars and is needed. We need this though sooooo yea.
2025-06-10 01:33:25 -04:00
MrNewb cf73514848 locale cleanup + additional languages 2025-06-09 00:15:27 -04:00
MrNewb a32b138ad4 temp disable notify 2025-06-08 23:36:06 -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 01217efc5b Update utility.lua 2025-06-05 00:46:06 -04: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 38ce2e8f1e feat(GetClosestVehicle) -- Now ready 2025-05-29 11:00:24 -04:00
MrNewb 14ea4c6a31 Revert "feat(GetClosestVehicle)"
This reverts commit 59d22e9fa7.
2025-05-29 10:26:40 -04:00
MrNewb 59d22e9fa7 feat(GetClosestVehicle)
---Get the closest vehicle to given coordinates
---@param coords vector3|nil
---@param distanceScope number|nil
---@param includePlayerVeh boolean|nil
---@return number|nil, vector3|nil, number|nil
2025-05-28 09:37:29 -04:00
gononono64 ba111f1b52 Changed createshop to registershop
dont forget to update

usibg cache system for clothing
2025-05-24 22:10:39 -05:00
MrNewb 54437d9639 feat:Entity blips 2025-05-24 21:39:37 -04:00
gononono64 d4908042be Clothing and clipboard update
QBClothing and ESKSkin working. Need others (WIP)

Copy to clipboard now a utility function. Will json encode if ~= string
2025-05-24 18:03:31 -05:00
gononono64 b9f5a3ed64 Small fix for client entities and qb stashes and shops
Shops: aligned format with others and removed the instant open (on create)

Stashes: Updated for new version of qb (exports)

Entities: returning point object
2025-05-24 15:36:05 -05:00
gononono64 0d606bc859 Entity fix and stash update
Slimed OpenStash down to just an src and id instead of needing duplicate data.

Was not sure if this affects newb so im throwing it in a pr.
2025-05-19 07:20:23 -05:00
gononono64 90fac2fc95 fix for require used outside of bridge
Previously unable to require anywhere outside of the bridge. Can now call require outside of bridge as intended
2025-05-16 21:54:33 -05:00
Johann Kraus 38d7924982 update cache with invoking resources 2025-05-16 10:48:33 -03:00
MrNewb 7089331759 Merge pull request #97 from JericoFX/patch-2-cache
Cache Refractor
2025-05-16 04:46:21 -04:00
Johann Kraus 1c19fffb31 Clean DUI until i found a better way to do it 2025-05-16 01:45:50 -03:00
Johann Kraus 2088320526 Refractor Cache and fix 2025-05-15 23:42:08 -03:00
gononono64 2aef4125ff removed prints left in cache 2025-05-15 01:49:49 -05:00
gononono64 d89b087e4d cache fixed 2025-05-15 01:48:02 -05:00
MrNewb 1d0255185d Revert "Merge pull request #92 from JericoFX/dev"
This reverts commit d697317142, reversing
changes made to 7927927394.
2025-05-13 00:23:01 -04:00
JericoFX c1c5626df3 add update function to cache 2025-05-12 14:31:33 -03:00
JericoFX 3ea66043ea Enhance cache module with improved type annotations and error handling; allow nil wait times for dynamic caching 2025-05-12 14:24:32 -03:00
JericoFX 68aa645494 Refactor global environment setup by removing redundant assignments to _ENV 2025-05-12 12:13:16 -03:00
JericoFX 42fe204615 Refactor cLib initialization and modularize server/client libraries 2025-05-12 11:46:47 -03:00
gononono64 7927927394 lil more cleanup
i love prints!
2025-05-12 02:48:11 -05:00
gononono64 340b57d301 marker fix
wasnt drawing at the correct location just the first location.

cleaned up prints in particles
2025-05-12 02:44:27 -05:00
gononono64 2f7c40e809 Server-sided markers and particles 2025-05-12 00:58:25 -05:00
MrNewb 5bff52034c Update init.lua 2025-05-11 22:30:25 -04:00
gononono64 b3417f9fde fixed minor issue in cutscenes
insert witty joke here
2025-05-11 20:14:35 -05:00
JericoFX 2687b81488 Old Lady cleaning v2 2025-05-11 12:58:11 -03:00
JericoFX 78444c7aae Old Lady Cleaning 2025-05-11 12:58:01 -03:00
JericoFX 67c9fbf783 Implement DUI Manager with mouse support and instance management 2025-05-11 12:57:34 -03:00
JericoFX 78bb1f8c05 Add utility functions for player data retrieval and enhance existing functions 2025-05-11 12:16:49 -03:00
gononono64 498f8670ee Bazinga Scenes
I bring you bazinga scenes. These are regular cutscenes but here now. Okay good bye
2025-05-11 00:47:33 -05:00
gononono64 e6feb5cde3 marker and a fixiewixie
oppsie doopsies
2025-05-09 23:05:44 -05:00