Commit Graph

40 Commits

Author SHA1 Message Date
David Malchin 1a3aa824fa Add locale convar and locale fallback 2022-09-04 00:46:21 +03:00
Kakarot 968fa01b4b Update jobs.lua 2022-08-30 20:40:34 -05:00
Spudgun 1dde823486 feat: first character of word to uppercase function 2022-08-23 19:53:06 +12:00
Spudgun 7b33f25210 update: common functions and weapon type info 2022-08-20 21:07:42 +12:00
Kakarot 8fffc421bb Merge Dev (#794)
* [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>
2022-08-19 11:48:39 -05:00
BerkieBb d88e51ee4f Remove inventory code from the core (#784)
* tweak(config): remove inventory code

* tweak(client/functions): remove inventory code

* cleanup(server/commands): remove inventory command

* cleanup(server/events): remove hasitem callback

* cleanup(server/functions): remove inventory code

* cleanup(server/player): remove inventory code

* feat(server/player): QBCore:Player:SetPlayerData server side

Removed QBCore:Server:PlayerLoaded for PR that will be merged before me that adds it

* feat(server/player): QBCore:Server:OnGangUpdate

* fix(shared/items): remove duplicate snowball

* fix(server/events): warn for exploitable event

* fix(server/functions): startup error

* feat(server/player): some backwards compatibility

* fix(server/events): warn for exploitable event

* feat(server/player): Player.Functions.AddField

* feat(server/exports): SetField and AddField

* fix(server/player): inventory state check
2022-08-19 11:33:38 -05:00
dexter9006 fc19a6ac65 Update vehicles.lua
small typo fix
2022-08-16 16:02:13 +01:00
Holidayy95 77112e43ec 2699 cars (#770)
* 2699 cars

* edit

* #BlameBlue

* #
2022-07-28 22:01:03 +03:00
David Malchin 8b5f5b2b37 Fix styling, docs, and a possible bug (#762)
* 🎨 Fix spacing and indentation

* 🎨 Use single quotes over backticks

* 📝 Fix docs

* 🐛 Make replace function clear and extend locales correctly

* Revert "🎨 Use single quotes over backticks"

* Update config.lua
2022-07-22 12:14:02 +03:00
nzkfc 304654b340 Update vehicles.lua 'sportsclassic' to 'sportsclassics' (#759)
* Update vehicles.lua

* Update vehicles.lua
2022-07-20 11:49:39 +03:00
Kakarot 53190a87ab Merge branch 'main' into main 2022-06-15 18:00:39 -07:00
TheiLLeniumStudios db11c7dcec Fix linting issues 2022-05-04 08:08:29 +00:00
Lionh34rt 8685a55f26 Update shared/jobs.lua
Co-authored-by: ItsANoBrainer <itsanobrainergg@protonmail.com>
2022-04-22 22:24:20 +02:00
uShifty a6160cf738 typo: VehicleHashs to VehicleHashes 2022-04-10 20:45:48 -07:00
uShifty 9d83a952c2 feat: Implement QBCore.Shared.VehicleHashs
Describe Pull request
Indexs the vehicles jenkins joaat(Hash) value as the key of the table as the key so we dont have to do some shitty ass loop through the vehicles comparing joaat values. I have no clue why this secondary table was removed in the first place if I had to guess people were lazy but this should help the lazys by automatically filling the table.

Questions (please complete the following information):
Have you personally loaded this code into an updated qbcore project and checked all it's functionality? [yes/no] (Be honest) 
Yes

Does your code fit the style guidelines? [yes/no] 
Yes

Does your PR fit the contribution guidelines? [yes/no]
Yes
2022-04-09 23:09:57 -07:00
Lionh34rt c8c406df9f PlayerData.job.isleo 2022-04-04 14:24:18 +02:00
Kakarot 2789f759b4 Merge pull request #546 from SKITTLE6969/Item.lua-update
Update Items.lua theft and jewelry
2022-03-22 21:00:50 -07:00
Kakarot ce206bbc9e Merge pull request #551 from buntyverma69/patch-1
Fixed helicopters not going air depot
2022-03-22 20:57:30 -07:00
Kakarot 2df3026ba1 Merge pull request #552 from buntyverma69/patch-3
Fixed Boats not going depot
2022-03-22 20:56:41 -07:00
buntyverma69 a116fbf1c6 Fixed Boats not going depot
I am trying to figure it out why Boats not going to boats depot ! category names are miss matching with garages.
2022-02-27 00:50:52 +05:30
buntyverma69 33c6d0d414 Fixed helicopters not going air depot
i am trying to figure it out why helicopters not going air depot ! category names are miss matching with garages.
2022-02-26 19:51:09 +05:30
BerkieBb 31888996ab feat!: ace permission system 2022-02-24 21:58:49 +01:00
SKITTLE 2cacb7eeaf Update Items.lua theft and jewelry
added item Diamond - Error in Pawnshop when collecting melted 10kggoldchain, item diamond missing
2022-02-23 11:26:24 +05:30
BerkieBb d09db11082 tweak(shared): prepare for globbing 2022-02-18 19:15:05 +01:00
Demo 4afcf445e6 Update vehicles.lua 2022-01-16 20:53:26 -05:00
Demo e6758d6aa6 Update vehicles.lua 2022-01-16 18:53:07 -05:00
Demo e7e96bd8ed Update vehicles.lua 2022-01-16 18:22:24 -05:00
Demo a5ea153cde weapons.lua update
Update to remove unneeded items and addition of damagereason for qb-ambulancejob update
2022-01-15 21:26:13 -05:00
Kakarot 6e7b0703af remove import 2022-01-10 11:39:28 -06:00
Kakarot d786a3cd07 Locale/oxmysql
MUST UPDATE OXMYSQL TO 1.9 OR HIGHER
2022-01-10 01:52:59 -06:00
Kakarot e151194643 Move import to shared 2022-01-10 00:39:09 -06:00
stolk88 aff4b06e5d qb-vehicleshop cycles bug/fix
When you swap to a cycle in the qb-vehicleshop the scipt can't find a brand
2022-01-07 15:40:39 +01:00
Kakarot 0a41144052 Create locale.lua 2022-01-06 20:50:13 -06:00
Kakarot 68cb6dacaf Merge pull request #413 from darknight2590/patch-17
make IsWearingGloves in core
2022-01-06 19:51:31 -06:00
darknight2590 deae13cb79 fix name 2022-01-03 09:10:06 +02:00
Kakarot 1d2e32e6d0 Merge pull request #420 from Demo4889/patch-2
Update items.lua
2022-01-02 18:30:19 -06:00
Demo 1f3209d126 Update items.lua
Adding EMP Ammo for the EMP Launcher
2022-01-02 10:20:58 -05:00
Demo 8b42d34861 Update weapons.lua
Adding the new weapons from the Security DLC
2022-01-02 10:16:21 -05:00
darknight2590 226906fd6b Update main.lua 2022-01-01 20:25:50 +02:00
Idris 0f137e3814 BREAKING: feat (shared): Split shared file into multiple files for cleaner and easier config and maintenance.
This is a breaking change.
2022-01-01 17:37:00 +11:00