0 Tracked
0 Follower
kirou
Uye

Sep 10, 2021

6 Mesaj

36 Reaction

0 Solution

3

First Message

No reward!

No reward!

No reward!

No reward!
- Joined
- Sep 10, 2021
- Messages
- 6
- Reaction score
- 36
- Points
- 3
Code:
local QBCore = nil
Citizen.CreateThread(function()
while QBCore == nil do
TriggerEvent("QBCore:GetObject", function(obj)QBCore = obj end)
Citizen.Wait(200)
end
end)
Bu kod satırını altta bıraktığım kod satırı ile değiştiriyorsunuz.
Code:
local QBCore = exports['qb-core']:GetCoreObject()
Aynı şekilde yeni sürümü eski sürüme çevireceğiniz zaman alttaki kod satırını üsttekiyle değiştirip ekte bırakacağım kod satırını fxmanifest.lua içerisine yazacaksınız.
Code:
shared_scripts {
'@qb-core/import.lua',
}