From 6ddfb39ec07d6c1d381de8e53a6078ed7a0433b7 Mon Sep 17 00:00:00 2001 From: Solareon <769465+solareon@users.noreply.github.com> Date: Mon, 22 Jul 2024 09:58:07 +0200 Subject: [PATCH] fix(server/main): use core export for routingbucket --- server/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main.lua b/server/main.lua index 96a222c..349a82f 100644 --- a/server/main.lua +++ b/server/main.lua @@ -104,7 +104,7 @@ local generalOptions = { SetPedIntoVehicle(GetPlayerPed(source), vehicle, seat) end, function(selectedPlayer, _, input) - SetPlayerRoutingBucket(selectedPlayer.id, input) + exports.qbx_core:SetPlayerBucket(selectedPlayer.id, input) end, } RegisterNetEvent('qbx_admin:server:playerOptionsGeneral', function(selected, selectedPlayer, input)