Commit Graph

382 Commits

Author SHA1 Message Date
Joel 20fe7e471c Fix: Set job boss value to grade value
Updates the job table's `isboss` value based on the grade
2024-05-05 09:25:03 +01:00
Kakarot 06f92b657c Update player data format & queries 2024-05-01 02:25:54 -05:00
Kakarot a4543646b4 Merge pull request #1062 from bfivem/main
refactor: small optimization
2024-02-10 17:41:33 -05:00
FjamZoo d7cc3b5884 Feat: Add statebag for instances 2024-01-30 04:41:07 +01:00
Kakarot cdd1502f01 Money reasons 2024-01-15 00:31:52 -06:00
MoskalykA fb4cc3e113 refactor: small optimization 2023-12-21 20:17:32 +01:00
Kakarot 554ae36ec1 Update export 2023-11-23 11:12:34 -06:00
Sh3ldar 5c29cacf32 Update events.lua
translation fix
2023-11-15 12:31:00 +01:00
Kakarot d7323ba147 fxdk handling + naming + duplicate license 2023-11-13 03:28:14 -06:00
Kakarot 27e4d82b28 Merge pull request #1031 from Swellington-Soares/main
refactor: update GetIdentifier to use new native
2023-11-09 21:29:54 -05:00
Kakarot 37976edc22 Util commands
Delete all vehicles, peds or objects known to the server
2023-11-08 04:40:47 -06:00
Kakarot 4149582c44 Remove unused metadata 2023-11-08 02:22:37 -06:00
Kakarot a73e878487 Weapon attachment rework 2023-11-03 09:40:35 -05:00
Swellington Soares de1931911d refactor: update GetIdentifier to use new native 2023-10-28 03:51:39 -03:00
Hakos 641ea95814 fix source 2023-09-30 00:42:29 +00:00
hakos d797ee14b6 fix update shared and get at player connection 2023-09-28 12:38:24 +02:00
hakos d82bda7a57 Merge branch 'patch-2' of https://github.com/hakos47/qb-core 2023-09-28 12:37:02 +02:00
hakos 8ea6644270 update shared at player connection 2023-09-28 12:32:57 +02:00
Hakos f70326b53e Merge branch 'main' into patch-2 2023-09-25 22:13:24 +02:00
Kakarot 4a0993591b Merge branch 'main' into main 2023-09-23 15:12:10 -05:00
Kakarot f3578b2945 Merge branch 'main' into main 2023-09-23 15:10:51 -05:00
Kakarot 5821fc7277 Merge branch 'main' into main 2023-09-21 22:28:39 -05:00
Kakarot 8082302e12 Merge branch 'main' into patch-2 2023-09-21 22:24:09 -05:00
Swellington Soares f93c31fa54 Update functions.lua
Added functions to Get players by account and added functions by char info passing the key property and value to check if exists.
2023-09-20 17:02:43 -03:00
Cocodrulo 1769fbe8b0 Update player.lua
A more comprehensive way of notifying a player and checking if a player has items from the server side.
2023-08-18 14:49:08 +01:00
Hakos47 6aef4a330a Merge branch 'main' into patch-2 2023-07-29 23:34:13 +02:00
Daniel GP f175bcf47f Merge branch 'main' into main 2023-07-10 15:36:27 +02:00
EinS4ckZwieblen dde2f788d3 chore(server/events): remove redundant vehicle spawning 2023-06-22 09:13:35 +02:00
Hakos47 f7b8e5ecab Update player.lua
fix error
2023-06-07 18:28:19 +02:00
Hakos47 e71e187a8f fix shared update
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
2023-06-07 18:24:32 +02:00
Daniel GP 5998d92a9b Fix bad implemention with SQL Function 2023-06-02 22:09:52 +02:00
Daniel GP 4b1acec5d1 Update query function 2023-06-01 21:23:00 +02:00
Kakarot 147d90e458 Merge branch 'main' into main 2023-06-01 11:24:34 -07:00
FjamZoo 99a90ebd5e feat(server/events): Trigger server event on player Duty update 2023-05-17 15:57:10 +02:00
Daniel GP b156f5c658 Add GetPlayerByLicense function 2023-05-15 22:26:06 +02:00
Kakarot 56d74f6405 New function for server vehicle spawning 2023-04-27 22:06:05 -05:00
Kakarot d9607f51b0 Merge pull request #849 from mmoftah:main
Have SetJobDuty also trigger job updates
2023-04-27 17:44:52 -07:00
Kakarot 5f6eb7f3a3 Merge pull request #907 from jellyton69:develop
Fix Debug, Fix Spelling Mistake, Add OOC Color Config
2023-04-27 17:14:07 -07:00
Kakarot 414f946688 Merge branch 'main' into main 2023-04-27 15:46:47 -07:00
erikmeyer08 822b2e4187 Add pacycheck reason
Adds the string 'paycheck' for AddMoney function 'reason' variable.
2023-04-14 20:06:09 -04:00
tom-osborne 5feec5582b correct use of "or nil" 2023-03-02 07:28:25 +00:00
tom-osborne 7620c1c74a Add documentation (luadoc) to functions 2023-03-01 23:47:21 +00:00
R0adRa93 01e8597f07 [FIX] Security match sql (#925)
* Added PrepForSQL function

performs a check to a string with expected patterns to be matched.

* Bug Fixes

After talking with Stan I realized that it wasn't testing strings so I set it up to ensure data is a string.

I also reworded the event log.
2023-01-18 18:53:38 +01:00
R0adRa93 9878aeaeb2 Added PrepForSQL function (#914)
performs a check to a string with expected patterns to be matched.
2023-01-17 16:01:36 +01:00
Jellyton 56a44bea37 Update commands.lua 2022-12-27 18:46:47 -08:00
Jellyton ec628fb6c7 Add OOC color to main config file 2022-12-28 02:42:00 +00:00
Jellyton 58ab2f6cbd Fix QBCore.Debug not printing correct invoking resource name 2022-12-28 02:39:18 +00:00
Jellyton b76160ca1e Fix proximity OOC spelling 2022-12-27 07:40:53 +00:00
Zerio 8d5a0800ab Merge branch 'main' into main 2022-12-20 18:56:38 +01:00
KamuiKody c79a7b907a add baseevents back (#898) 2022-12-19 22:29:18 +01:00