Commit Graph

1498 Commits

Author SHA1 Message Date
Joel c2c0de6dea Merge pull request #1210 from GR-Scripts-25/main
Set job duty status at player login
2025-12-15 15:05:22 +00:00
GR-Scripts 9d6143c7a9 Set job duty status at player login 2025-12-15 05:13:21 +01:00
Joel e1151d0b62 Merge pull request #1207 from qbcore-framework/fix/client-callback-collisions
Fix/client callback collisions
2025-10-06 15:11:59 -04:00
Joel 63d6cc9681 fix(client-callbacks): check source before attempting concatenation 2025-10-06 14:48:21 -04:00
Joel 3c9ce7cc4c fix: append source id when registering client callback in table to prevent collisions 2025-10-06 13:41:12 -04:00
Joel aaa681fdd4 fix: append source id to prevent client callback collisions 2025-10-06 13:39:11 -04:00
Kakarot 5cf9f4b143 Merge pull request #1198 from MrNewb/main
feat(core): add functions to retrieve online players by job name or type with optional on-duty check
2025-06-22 14:45:51 -05:00
MrNewb d19f34ba09 update 2025-06-22 15:45:03 -04:00
Kakarot 2827a6350b Merge branch 'main' into main 2025-06-22 14:38:43 -05:00
Kakarot 7562568ef8 Merge pull request #1193 from Stevie-World/main
Semantic Version Bump
2025-06-22 13:48:29 -05:00
Kakarot aaa8ada235 Merge pull request #1194 from ShangYi7/main
Added zh-tw language and modified the file name
2025-06-21 16:16:35 -05:00
MrNewb 7a0567efac feat(core): add functions to retrieve online players by job name or type with optional on-duty check
Adds two utility functions to retrieve online players by either job name or job type, with optional filtering for on-duty status. While the logic is a bit nested, this approach avoids unnecessary function splitting and keeps related behavior in a single place. Although I'm not entirely satisfied with the nesting, this structure felt like a reasonable trade-off between readability and reusability.

This method could also serve as a foundation for deprecating older job-check functions, should the maintainer choose to consolidate similar logic in the future.
2025-05-23 04:13:17 -04:00
ShangYi7 e772426c49 Update functions.lua
Remove spaces at the end of lines 398 and 400 of `server/functions.lua`
2025-04-16 20:08:28 +08:00
ShangYi7 763ee0f3e7 Rename zh-tw to zh-tw.lua 2025-04-15 23:14:35 +08:00
ShangYi7 0e4b7090c5 Update and rename cn.lua to zh-cn.lua 2025-04-15 23:09:23 +08:00
ShangYi7 e51dfc8f96 Update zh-tw 2025-04-15 23:01:19 +08:00
ShangYi7 e44b637c1b Create zh-tw 2025-04-15 22:57:00 +08:00
Stevie 76dcd087df Update functions.lua 2025-04-11 04:26:31 +01:00
Stevie eabfb14086 Update functions.lua 2025-04-11 04:24:56 +01:00
Stevie d293239c71 Update functions.lua 2025-04-11 04:23:35 +01:00
Stevie 85bc71416a Update functions.lua 2025-04-11 03:44:55 +01:00
Stevie fc1a4b42e5 Add files via upload 2025-04-10 23:17:27 +01:00
Joel fdd380e7cf Merge pull request #1185 from Legen141215/patch-1
Update pt.lua
2025-04-10 23:14:42 +01:00
Joel e086f247f8 Merge branch 'main' into patch-1 2025-04-10 23:13:56 +01:00
Joel 43758d4c84 Merge pull request #1189 from atarevals/patch-1
Update fa.lua
2025-04-10 22:12:29 +01:00
Joel 2e96eb0e8f Merge branch 'main' into patch-1 2025-04-10 22:11:47 +01:00
Joel 48b4594c45 Merge pull request #1191 from illusi0n003/main
Added workbench & attachment items to items.lua
2025-04-10 21:27:20 +01:00
Illusion ab02e7bef1 Merge pull request #1 from illusi0n003/illusi0n003-patch-1
Add files via upload
2025-04-01 02:00:20 +02:00
Illusion 7f14e90687 Add files via upload
Added workbench & attachment to items.
2025-04-01 01:58:30 +02:00
Ata Revals 23ad1ccb6f Update fa.lua 2025-03-16 10:51:47 +03:30
Kakarot fe654facee Styling update 2025-03-13 15:50:32 -05:00
Legen 3b685761e7 Update pt.lua
Updated a few spelling errors
2025-03-12 21:29:16 +00:00
Joel bb56120a16 Merge pull request #1180 from DispersiaRoleplay/main
Added new locale file ua.lua
2025-03-10 23:30:08 +00:00
Joel b1c0488610 Merge branch 'main' into main 2025-03-10 23:28:45 +00:00
Joel de9021c738 fix: add qb_locale convar check 2025-03-10 23:27:54 +00:00
Kakarot 251f41a9ad Merge pull request #1165 from PickleModifications/main
Fixes misidentification of source as an identifier
2025-03-09 14:24:13 -05:00
Kakarot 73e80fbc7c Merge branch 'main' into main 2025-03-09 14:23:30 -05:00
Kakarot fac67bd55a Merge pull request #1184 from s0t7x/patch-1
Update functions.lua
2025-03-09 14:21:40 -05:00
Miguel Oppermann 62e6a6f949 Update functions.lua
Fixed a bug that prevented paychecks from working forever once 0 players was hit which typically directly happens on server start.
2025-03-02 00:42:27 +01:00
Joel 7c4ef6130f Merge pull request #1181 from Cocodrulo/fix/warning-lang-msg
Fix warning message by adding white color again
2025-02-26 03:43:22 +00:00
Joel 1b41742fbe Merge branch 'main' into fix/warning-lang-msg 2025-02-26 03:42:34 +00:00
Kakarot db7fbdbaef Merge pull request #1172 from NickReagan/main
Fix Logic Check on Setting Vehicle Extras
2025-02-23 20:57:42 -05:00
Cocodrulo 0d3e464805 Fix warning message by adding white color again 2025-02-17 18:48:02 +00:00
Dispersia Roleplay 8be7f1e117 Merge branch 'main' into main 2025-02-17 14:48:08 +02:00
Dispersia Roleplay 2f1067a839 Added new locale file ua.lua 2025-02-17 14:46:00 +02:00
Pickle 1ce2d445ee Merge branch 'main' into main 2025-02-02 21:28:02 -05:00
Nick Reagan 7a35e95a45 Merge branch 'main' into main 2025-01-29 20:04:47 -05:00
Nick Reagan 723b03aefb Fix changing vehicle extra to false not working
Logic switched value to true. Fixed.
2025-01-29 20:00:24 -05:00
Kakarot 9adb33b970 Core object filtering + exported functions/data
Maintains backwards compatibility and allows users to only get what they need from the core instead of importing it all
2025-01-25 00:36:31 -06:00
Kakarot 47cf3ac56f Merge pull request #1169 from Borreke0/main
TP with heading support
2025-01-24 15:20:42 -05:00