• 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 [NoPixel 4.0 Inspired] [open source] (1 Viewer)

  • Post hidden due to user being banned.

Periphery

Well-known member
Sep 20, 2021
281
31
28
Credits
29
You don't actually need any of that. I have their chat resource that technically requires 0r-lib, but got it fully working without it. If you can code you can simply alter the dependencies.
 

Periphery

Well-known member
Sep 20, 2021
281
31
28
Credits
29

@Periphery


If you have done this, can you share it with us or if you have 0r_lib open source, can you share it?

It took me 2 hours to reverse engineer the 0r_lib parts. All it does with 0r-lib is spawning the items on the craft table, but that's it.. If you can rub 2 braincells together, you can code that yourself.
 

martink7331

Member
May 17, 2023
45
30
18
Credits
2,786
It took me 2 hours to reverse engineer the 0r_lib parts. All it does with 0r-lib is spawning the items on the craft table, but that's it.. If you can rub 2 braincells together, you can code that yourself.
Can you provide an code for that i did the same thing I used createobject with requestmodel but for some reason in my case it gets the weapon name instead of weapon streamable object. Also the components don’t want to stream even with all my edit. Sorry if i bother you mate.
 

Periphery

Well-known member
Sep 20, 2021
281
31
28
Credits
29
Can you provide an code for that i did the same thing I used createobject with requestmodel but for some reason in my case it gets the weapon name instead of weapon streamable object. Also the components don’t want to stream even with all my edit. Sorry if i bother you mate.


local modelHash = object.name

if not HasModelLoaded(modelHash) then
RequestModel(modelHash)

while not HasModelLoaded(modelHash) do
Citizen.Wait(1)
end
end

local createdObject = CreateObject(modelHash, _coords.x, _coords.y, _coords.z, false, false, false)

works just fine. You messed up somewhere.
 

martink7331

Member
May 17, 2023
45
30
18
Credits
2,786
local modelHash = object.name

if not HasModelLoaded(modelHash) then
RequestModel(modelHash)

while not HasModelLoaded(modelHash) do
Citizen.Wait(1)
end
end

local createdObject = CreateObject(modelHash, _coords.x, _coords.y, _coords.z, false, false, false)

works just fine. You messed up somewhere.
Hi again! Thanks for answering and thats the same thing I did. I will check again after work to see if miss spelled the modelHash, but in my case it worked in all other 3 functions but inside here "function Koci.Client.Craft:LoadWeaponOnTable(weapon)" I couldn't make it.
 

Periphery

Well-known member
Sep 20, 2021
281
31
28
Credits
29
Hi again! Thanks for answering and thats the same thing I did. I will check again after work to see if miss spelled the modelHash, but in my case it worked in all other 3 functions but inside here "function Koci.Client.Craft:LoadWeaponOnTable(weapon)" I couldn't make it.

I removed all the Koci.Client.Craft: nonsense and converted them to regular functions. If you plan on doing the same, make sure you actually list

createdShopBlips = {},
createdShopBenchObjects = {},
openedShop = nil,
isTheShopOpen = false,
shopCam = nil,
createdWeaponObjectOnTable = nil,
selectedWeapon = nil,
createdItemObjectOnTable = nil,
CraftingQueues = {},
completedCraftingQueues = {},
queueThreadIsActive = false

as variables first.
 

bl9z

Member
Dec 30, 2023
25
7
8
Credits
2,544
I removed all the Koci.Client.Craft: nonsense and converted them to regular functions. If you plan on doing the same, make sure you actually list

createdShopBlips = {},
createdShopBenchObjects = {},
openedShop = nil,
isTheShopOpen = false,
shopCam = nil,
createdWeaponObjectOnTable = nil,
selectedWeapon = nil,
createdItemObjectOnTable = nil,
CraftingQueues = {},
completedCraftingQueues = {},
queueThreadIsActive = false

as variables first.
Bro you know a lot abt this but most of us don’t, just share the working version, ill pay 300credits
 

Periphery

Well-known member
Sep 20, 2021
281
31
28
Credits
29
Bro you know a lot abt this but most of us don’t, just share the working version, ill pay 300credits
Yes because I can code, and I don't believe in handouts to people that can't code. If you can't fix a simple line of code, you have literally no business in having a server.
 

Users who are viewing this thread

Top