Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: switch from utils to lib #318

Merged
merged 29 commits into from
Jan 22, 2024
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
2c455cd
feat: switch from utils to lib
mafewtm Jan 15, 2024
7c95c7a
fix: armsWithoutGloves issue?
mafewtm Jan 16, 2024
3e86d1d
fix: move armsWithoutGloves to shared
mafewtm Jan 16, 2024
22d86da
fix: spawnVehicle usage
mafewtm Jan 16, 2024
e78f6a3
fix(config/server): lib.string.random
mafewtm Jan 17, 2024
254c026
Update server/commands.lua
mafewtm Jan 17, 2024
7bffe7b
Update config/server.lua
mafewtm Jan 17, 2024
bdfd7cc
Update config/server.lua
mafewtm Jan 17, 2024
d5a950d
Update bridge/qb/client/functions.lua
mafewtm Jan 17, 2024
b514110
Update bridge/qb/server/main.lua
mafewtm Jan 17, 2024
13312a0
Update bridge/qb/server/main.lua
mafewtm Jan 17, 2024
ab2a6b7
fix: manifest and GetPeds
mafewtm Jan 17, 2024
0e86896
fix: GetPlate and GetVehicleDisplayName
mafewtm Jan 17, 2024
390b59b
fix: Trim, FirstToUpper, and Cardinal Direction
mafewtm Jan 18, 2024
24682c6
fix: add string.split from utils to bridge
mafewtm Jan 19, 2024
cf6e71d
fix: GetPlayers
mafewtm Jan 19, 2024
2ca97b7
fix: SpawnClear
mafewtm Jan 19, 2024
1f37eba
fix: GetClosestPlayer, GetClosestVehicle, and GetClosestObject
mafewtm Jan 19, 2024
4bbabee
fix: GetPlayerFromCoords
mafewtm Jan 19, 2024
18d8efa
feat(lint): new lib
BerkieBb Jan 20, 2024
2b03040
fix(bridge): qb closestped compat
BerkieBb Jan 20, 2024
fbf6c64
tweak(bridge): simplify SpawnClear
BerkieBb Jan 20, 2024
198e964
tweak(bridge): don't redefine heading
BerkieBb Jan 20, 2024
dab9752
tweak: wrap cardinal direction instead
BerkieBb Jan 20, 2024
089a2af
Merge branch 'main' into main
BerkieBb Jan 21, 2024
5dc062c
fix(server/events): use table instead of old func
BerkieBb Jan 22, 2024
f24df92
Merge branch 'main' into main
BerkieBb Jan 22, 2024
2a5caf8
perf(server/commands): reuse variable instead
BerkieBb Jan 22, 2024
bfb94df
fix: lint
BerkieBb Jan 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"Lua.runtime.nonstandardSymbol": ["/**/", "`", "+=", "-=", "*=", "/="],
"Lua.runtime.version": "Lua 5.4",
"Lua.diagnostics.globals": [
"lib"
"lib",
"MySQL",
"cache"
]
}
2 changes: 1 addition & 1 deletion bridge/qb/client/events.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ end)

RegisterNetEvent('QBCore:Client:VehicleInfo', function(info)
local vehicle = NetworkGetEntityFromNetworkId(info.netId)
local plate = GetPlate(vehicle)
local plate = qbx.getVehiclePlate(vehicle)
local hasKeys = config.hasKeys()

local data = {
Expand Down
Loading
Loading