• We have a new discord! click here to join
    Any faulty links ? Report them in our discord or via our Ticket System!
    We do everything we can to protect the safety of our visitors, if any resource contains malware in any kind of form or obfuscation please report it aswell ♡♡

STANDALONE 0r-craft + 0r-lib | Pack Leak (3 Viewers)

Striker9090

Active member
Dec 12, 2022
181
124
43
Credits
33,218
0r-Craft + 0r-lib
0r Craft with 0r lib in one pack, for ESX and QBCore. Works with Ox Inventory, QB Inventory.
It's completely open source.


This pack its 100% work, same my other post.
If you liked it, please leave a comment, thank you!


Preview:


 

VeryNiceIndeed

Active member
Jan 10, 2023
166
58
28
Credits
13,447
0r-Craft + 0r-lib
0r Craft with 0r lib in one pack, for ESX and QBCore. Works with Ox Inventory, QB Inventory.
It's completely open source.


This pack its 100% work, same my other post.
If you liked it, please leave a comment, thank you!


Preview:


-=Stripped Content=-
Appreciate it brother ! Thanks
 

Hasaniukas

Active member
God VIP
Nov 30, 2021
182
12
18
Credits
511
If is working like you say why you dont put proof for that? Because its same 0r_lib from forum which one is not working with 0r-motel and 0r-craft.
 

Hasaniukas

Active member
God VIP
Nov 30, 2021
182
12
18
Credits
511
Recreating the server sided functions of the 0r-lib is easy
lol, then why people write that is working 100% if is not true and need to edit something? people bought it and have problems if they dont know how to code... if it easy why is not full 0r_lib script with server side?
 

2k14

Well-known member
Jan 2, 2022
705
59
28
Credits
3,590
0r-Craft + 0r-lib
0r Craft with 0r lib in one pack, for ESX and QBCore. Works with Ox Inventory, QB Inventory.
It's completely open source.


This pack its 100% work, same my other post.
If you liked it, please leave a comment, thank you!


Preview:


-=Stripped Content=-
it does cost a lot respect
 

ArcsGlobal

Member
Jun 24, 2023
11
4
3
Credits
19
0r_lib/server.main.lua
There are some problems, add some and let's put it together.


Resmon = {}
Resmon.Callbacks = {}
Resmon.UsableItems = {}

-- Callback fonksiyonları
function Resmon.RegisterCallback(name, callback)
Resmon.Callbacks[name] = callback
end

function Resmon.TriggerCallback(name, source, cb, ...)
if Resmon.Callbacks[name] then
Resmon.Callbacks[name](source, cb, ...)
else
print("Callback " .. name .. " bulunamadı.")
end
end

-- Usable item fonksiyonları
function Resmon.RegisterUsableItem(itemName, callback)
Resmon.UsableItems[itemName] = callback
end

function Resmon.UseItem(source, item)
local usableItem = Resmon.UsableItems[item.name]
if usableItem then
usableItem(source, item)
else
print("Usable item " .. item.name .. " bulunamadı.")
end
end

-- Kod oluşturma fonksiyonu
function Resmon.GenerateCode()
-- Burada bir rastgele kod oluşturabilirsiniz, örneğin:
local length = 6
local charset = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
local code = ""
for i = 1, length do
local randomChar = charset:sub(math.random(1, #charset), math.random(1, #charset))
code = code .. randomChar
end
return code
end

-- Oyuncu adını döndüren fonksiyon
function Resmon.GetPlayerOfflineName(owner)
-- Burada veritabanından veya başka bir kaynaktan oyuncu adını alabilirsiniz
-- Örnek dönüş:
local playerName = "Bilinmeyen Oyuncu"
-- Veritabanından oyuncu adını çekmek için örnek MySQL sorgusu:
--[[
local result = MySQL.Sync.fetchScalar("SELECT name FROM users WHERE identifier = @owner", {["@owner"] = owner})
if result then
playerName = result
end
--]]
return playerName
end

-- GetPlayerFromSource fonksiyonu (qb-core global fonksiyon örneği)
function Resmon.GetPlayerFromSource(source)
local xPlayer = QBCore.Functions.GetPlayer(source)
return xPlayer
end

-- Register the functions to Resmon.Lib
Resmon = Resmon or {}
Resmon.Lib = Resmon.Lib or {}
Resmon.Lib.Callback = Resmon.Lib.Callback or {}

Resmon.Lib.Callback.Register = Resmon.RegisterCallback
Resmon.Lib.Callback.Trigger = Resmon.TriggerCallback
Resmon.Lib.RegisterUsableItem = Resmon.RegisterUsableItem
Resmon.Lib.UseItem = Resmon.UseItem
Resmon.Lib.GenerateCode = Resmon.GenerateCode -- Register the GenerateCode function
Resmon.Lib.GetPlayerOfflineName = Resmon.GetPlayerOfflineName -- Register the GetPlayerOfflineName function
Resmon.Lib.GetPlayerFromSource = Resmon.GetPlayerFromSource -- Register the GetPlayerFromSource function

-- QB-Core'dan gerekli core objesini almak için
function QBCoreObject()
return QBCore
end

-- Exports
exports('QBCoreObject', QBCoreObject)
 

Users who are viewing this thread

Top