Jump to content
Check out discord.gg/fxap for the cheapest decryptions! First one is free! ×

Get LB-Phone!

Unlock the powerful LB-Phone for a fraction of the price you pay on tebex.

Download

Premium TOS Clothing MEGA Pack!

11GB of pure TOS premium clothing best clothing pack for your Server!

Download

5Decrypt

Automated Asset Decryption

Learn More

Sheriff_Oliver

Snail
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Sheriff_Oliver

  1. At line Server/functions Line 332 -- Format the query local query = "INSERT INTO `0r_crafting_queue` (user, name, canItBeCraftable, label, count, duration, image, ingredients, propModel, price) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"
  2. New SQL Working CREATE TABLE IF NOT EXISTS `0r_crafting_queue` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `user` VARCHAR(100) NOT NULL, `name` VARCHAR(64) NOT NULL, `label` VARCHAR(64) NOT NULL, `count` INT(11) NOT NULL, `duration` INT(11) NOT NULL, `object` TEXT; `image` TEXT, `ingredients` JSON, `propModel` VARCHAR(64), `price` INT(11) NOT NULL, `canItBeCraftable` BOOLEAN DEFAULT 0, `status` ENUM("in_progress", "completed") NOT NULL DEFAULT "in_progress", `created_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1;
    its work guys. 100% ... more details, look my coment --->
  3. Ty bruh, its work for me , but. ... put my script like this. qb-vehiclekeys / client / main.lua RegisterNetEvent('lockpicks:UseLockpick', function(isAdvanced) local ped = PlayerPedId() local pos = GetEntityCoords(ped) local vehicle = QBCore.Functions.GetClosestVehicle() if vehicle == nil or vehicle == 0 then return end if HasKeys(QBCore.Functions.GetPlate(vehicle)) then return end if #(pos - GetEntityCoords(vehicle)) > 2.5 then return end if GetVehicleDoorLockStatus(vehicle) <= 0 then return end -- Corrected the resource name in the call exports['cure-lockpick']:OpenLockpickMinigame(function(success) if success then -- Logic for successful lockpicking TriggerServerEvent('hud:server:GainStress', math.random(1, 4)) lastPickedVehicle = vehicle if GetPedInVehicleSeat(vehicle, -1) == PlayerPedId() then TriggerServerEvent('qb-vehiclekeys:server:AcquireVehicleKeys', QBCore.Functions.GetPlate(vehicle)) else QBCore.Functions.Notify(Lang:t("notify.vlockpick"), 'success') TriggerServerEvent('qb-vehiclekeys:server:setVehLockState', NetworkGetNetworkIdFromEntity(vehicle), 1) end else -- Logic for failed lockpicking TriggerServerEvent('hud:server:GainStress', math.random(1, 4)) AttemptPoliceAlert("steal") end end, vehicle, isAdvanced and 'advancedlockpick' or 'lockpick') -- Adjust parameters as needed end) -- Backwards Compatibility ONLY -- Remove at some point -- RegisterNetEvent('vehiclekeys:client:SetOwner', function(plate) TriggerServerEvent('qb-vehiclekeys:server:AcquireVehicleKeys', plate) end)
×
×
  • Create New...

Important Information

By continuing on Launcherleaks.net, you agree to our Terms of Use, Guidelines & Privacy Policy