It's a temporary fix while we see how to do it better. but this in principle fixes the error that when a client entered it did not get the table of items etc updated. since shared_scripts does not serve to update information on both sides (client, server) it would fix problems with addItems, addItem, etc.
It is not the best solution. but it's a temporary fix
* [Update] Stuff and Things - Fix Exploit
- Update doors on teleport so they don't get stuck (requires my doorlock PR that creates a updateDoors() export
- Support for heading with TeleportToCoords event
- Support for teleporting to location name with /tp and a default file with locations to use
- Remove 'QBCore:Server:AddItem' event (requires PR to other resources that use it)
- Support for an array of items that do the same thing with QBCore.Functions.CreateUsableItem
- Player exists check before removing or adding permission
- Trigger OnPlayerUnload as a server side event too
- Player.Functions.GetMetaData function
- Added reason to money remove logs
- Set dirt level to 0 on /car vehicles
* Export to Event
* Deprecate instead of remove?
* Player+License verification fix
* Update events.lua
* Export change for qb-management
* [Hotfix] Errors after Merge
* [Change] src to source
* Prevent people using /me to troll
This prevents people using that /me troll with the huge font size and different colors.
* Remove DoorUpdate event
* Update client/events.lua
Co-authored-by: BerkieBb <82737367+BerkieBb@users.noreply.github.com>
* Update server/functions.lua
Co-authored-by: BerkieBb <82737367+BerkieBb@users.noreply.github.com>
* Adjustments for BB
* Linting
* fix(server/functions): use indexed variables
Co-authored-by: David Malchin <malchin459@gmail.com>
* chore(server/events): remove unnecessary _
Co-authored-by: David Malchin <malchin459@gmail.com>
* chore(server/events): remove unnecessary _'s
Co-authored-by: David Malchin <malchin459@gmail.com>
* chore(server/events): language
Co-authored-by: David Malchin <malchin459@gmail.com>
* chore(server/events): language
Co-authored-by: David Malchin <malchin459@gmail.com>
* chore(server/events): language
Co-authored-by: David Malchin <malchin459@gmail.com>
* chore(server/events): language
Co-authored-by: David Malchin <malchin459@gmail.com>
* chore(server/player): indentation
Co-authored-by: David Malchin <malchin459@gmail.com>
* [Chore] Remove Money
Removed repetitive code that made zero sense
* Update en.lua
* Update player.lua
* Update player.lua
* Update functions.lua
Co-authored-by: ItsANoBrainer <itsanobrainergg@protonmail.com>
Co-authored-by: Scullyy <51968381+Scullyy@users.noreply.github.com>
Co-authored-by: Idris Dev <IdrisDose@users.noreply.github.com>
Co-authored-by: Idris <idrisdev@gmail.com>
Co-authored-by: BerkieBb <82737367+BerkieBb@users.noreply.github.com>
Co-authored-by: David Malchin <malchin459@gmail.com>
Co-authored-by: Chris Usiak <christopher.usiak@oakland.k12.mi.us>
Due to merging the 2 sets of random generated numbers it makes the variable PhoneNumber a string when it should be a number value. I noticed this bug when the framework function QBCore.Functions.GetPlayerByPhone was not working as intended.
* Update README.md
* Update README.md
* feat (locale/tr): Added turkish locale.
Türkçe Karakter Yer Almakta
* feat (locale/es): Added spanish.
* updated spanish
Sounded weird
* Update es.lua
* feat (locale/lv): Added latvian.
I'm personally a native speaker and I can approve this is correct.
* feat(qb-core/player): Added server-side event onJobUpdate (#516)
Added server-side event onJobUpdate so scripts can listen on server if any player changed their job. It's safer than redirecting client event to server again.
* feat (server/player): Added Job update on duty update (#519)
* Trigger Job Update on Duty Update
* Add server event
Co-authored-by: Kakarot <57848836+GhzGarage@users.noreply.github.com>
Co-authored-by: Muhammed Developer <56224780+muhammed10100@users.noreply.github.com>
Co-authored-by: MonkeyWhisper <82112471+MonkeyWhisper@users.noreply.github.com>
Co-authored-by: Casper <71441748+JajarGaming@users.noreply.github.com>
Co-authored-by: Chaini <28576404+chainiDV@users.noreply.github.com>
Co-authored-by: Brady F <bmf1418@gmail.com>