Commit Graph

753 Commits

Author SHA1 Message Date
Brady F f58478b61f feat (server/player): Added Job update on duty update (#519)
* Trigger Job Update on Duty Update

* Add server event
2022-02-19 18:09:23 +11:00
Chaini 394d723eae 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.
2022-02-19 18:03:25 +11:00
MeMo 707a43d4b8 fix (server/functions): BanTime fix. 2022-02-19 17:56:02 +11:00
Liam Dormon 3b36f7e4e5 fix(client/functions): type checking for vectors (#430)
allows for cross scrt compatibility with newer functions
2022-02-19 17:39:50 +11:00
Casper 93be2817b1 feat (locale/lv): Added latvian.
I'm personally a native speaker and I can approve this is correct.
2022-02-19 17:37:54 +11:00
MonkeyWhisper 94a1f43734 feat (locale/es): Added spanish.
* updated spanish

Sounded weird

* Update es.lua
2022-02-19 17:36:57 +11:00
Muhammed Developer ca826e1499 feat (locale/tr): Added turkish locale.
Türkçe Karakter Yer Almakta
2022-02-19 17:34:01 +11:00
Idris Dev 391b293e06 style (drawtext): camelCase drawtext local functions.
Co-Authored by @BerkieBb
2022-02-19 17:27:01 +11:00
Idris Dev 61c709c0f0 feat (readme): Updated readme (#538)
* Update README.md

* Update README.md

Co-authored-by: Kakarot <57848836+GhzGarage@users.noreply.github.com>
2022-02-19 17:26:05 +11:00
BerkieBb e9a6d4acd0 fix(server/functions): getplayer variable 2022-02-18 19:35:10 +01:00
BerkieBb ab131e2cc8 revert(manifest): version bump 2022-02-18 19:17:29 +01:00
BerkieBb 81d7d1fadb tweak(manifest): shared globbing and version bump 2022-02-18 19:16:48 +01:00
BerkieBb d09db11082 tweak(shared): prepare for globbing 2022-02-18 19:15:05 +01:00
BerkieBb f82fb1a118 style(server/exports): ocd 2022-02-18 19:12:57 +01:00
BerkieBb da676647f2 style(server/player): indentation 2022-02-18 19:09:57 +01:00
BerkieBb 38534b73f0 style(server/functions): indentation 2022-02-18 19:09:35 +01:00
BerkieBb e61cc26322 style(server/events): indentation 2022-02-18 15:21:48 +01:00
BerkieBb fd088d9dcf feat(debug): allow for more types to be sent to the debug 2022-02-18 14:51:40 +01:00
BerkieBb 25007c1bf4 style(server/events): indentation and ocd 2022-02-18 14:34:40 +01:00
BerkieBb 4cca898395 style(main): indentation 2022-02-18 10:16:08 +01:00
BerkieBb c615159c28 style(events): indentation 2022-02-18 10:13:08 +01:00
BerkieBb a5bb0c99ce tweak(functions): small changes 2022-02-18 10:07:19 +01:00
BerkieBb 4b107e24d7 style(drawtext): camelCase for locals 2022-02-18 10:02:18 +01:00
BerkieBb 3fcbf70016 optimize(loops): use core playerdata 2022-02-18 10:00:16 +01:00
Idris Dev f742dff5de fix (semvar): Version correctly bumped 2022-02-18 18:41:54 +11:00
Kakarot 3cb435b737 Update README.md 2022-02-17 21:26:48 -06:00
Kakarot 9a3814ed9b Update README.md 2022-02-17 21:24:55 -06:00
darknight2590 3b61e13854 feat (html): Organised html file - Darknight2590
* Rename html/app.js to html/js/app.js
* Rename html/config.js to html/js/config.js
* Rename html/drawtext.js to html/js/drawtext.js
* Rename html/testing.js to html/js/testing.js
* Rename html/utils.js to html/js/utils.js
* Rename html/style.css to html/css/style.css
* Rename html/drawtext.css to html/css/drawtext.css
* Update fxmanifest.lua
2022-02-17 19:35:01 +11:00
darknight2590 430d40db6a feat (player/status): Added isdead check to hunger/thirst check thread 2022-02-16 20:25:53 +11:00
Idris Dev efd28061e4 feat (server/exports): Added GetCoreVersion to return the manifest version of the core. 2022-02-15 13:51:35 +11:00
Idris Dev df64b17aa3 Update fxmanifest.lua 2022-02-14 17:32:16 +11:00
Idris Dev d7116867a3 bump: Upped version number 2022-02-13 23:09:57 +11:00
Idris Dev b317f42fa2 feat (shared): Added modular shared tables 2022-02-13 23:05:58 +11:00
Idris e7efdbd509 hotfix (exports): Updated the way functions return, now returns status, message and item (if applicable). 2022-02-13 21:49:59 +11:00
Idris 74f088e451 feat (exports): Added minor validation to the new exports. 2022-02-13 21:28:22 +11:00
Idris 488c74b2de Merge branch 'develop' of https://github.com/qbcore-framework/qb-core into feat/ModularSharedTables 2022-02-13 20:51:43 +11:00
Idris Dev c0bdbdebe3 feat (drawtext): Added IdrisDose/qb-drawtext to qb-core 2022-02-13 20:51:18 +11:00
Idris ae29c94a40 feat (Shared): Added the ability to dynamically update the shared jobs, items and gangs. 2022-02-13 20:45:49 +11:00
Idris 2723d67744 feat (drawtext): Added IdrisDose/qb-drawtext to core to hopefully slow down the usage of drawtext3d. 2022-02-13 17:26:17 +11:00
Kakarot 6935e3481e Merge pull request #453 from CTRP-Framework/patch-1
Update vehicles.lua
2022-02-03 06:12:34 -08:00
Kakarot 8e9a205f68 Merge pull request #492 from Demo4889/main
Update vehicles.lua
2022-02-03 06:12:27 -08:00
Kakarot 43be39769e Merge pull request #496 from BerkieBb/main
Duplicate license config
2022-02-03 06:12:06 -08:00
Scullyy 1baa0bf868 Fix personal changes for public repo 2022-02-03 13:58:24 +00:00
Scullyy ca5383f2d2 Prevent duplicated phone and account numbers
Describe Pull request
This will prevent the chance of duplicated phone and account numbers, although the chance is very low it's still a possibility as I have experienced this myself and this will resolve that issue. I feel like this should be implemented as these are meant to be unique for each player.

Questions:
- Have you personally loaded this code into an updated qbcore project and checked all it's functionality? Yes
- Does your code fit the style guidelines? Yes
- Does your PR fit the contribution guidelines? Yes
2022-02-03 13:48:40 +00:00
Scullyy 6379245963 Revert "Prevent duplicated phone and account numbers"
This reverts commit 8ca8282f2a.
2022-02-03 13:44:56 +00:00
Scullyy 8ca8282f2a Prevent duplicated phone and account numbers
**Describe Pull request**
This will prevent the chance of duplicated phone and account numbers, although the chance is very low it's still a possibility as I have experienced this myself and this will resolve that issue. I feel like this should be implemented as these are meant to be unique for each player.

**Questions (please complete the following information):**
- Have you personally loaded this code into an updated qbcore project and checked all it's functionality? Yes
- Does your code fit the style guidelines? Yes
- Does your PR fit the contribution guidelines? Yes
2022-02-03 13:31:48 +00:00
ItsANoBrainer 2c5253918b [Update] Missing Vehicle Properties
Added door state and window state.
2022-01-27 17:58:07 -05:00
ItsANoBrainer f7ef019d26 [Update] Missing Vehicle Properties
Added proper support for missing or unfinished vehicle property saving/getting:

- neons enabled/disabled
- tire health
- tire burst state
- tire burst completely
- oil level
- wheel size
- wheel width
- headlight color
- interior color
- modkit 17, 19, 21, 47, 49
- livery roof
- tankHealth

- Set LegacyFuel on setting fuel level
2022-01-27 14:32:14 -05:00
BerkieBb c6b5063aaf feat(config): add duplicate license check config 2022-01-18 14:00:02 +01:00
BerkieBb edc914835d feat(events/join): add duplicate license check config 2022-01-18 13:59:36 +01:00