0r-craft [NoPixel 4.0 Inspired] [open source]
@Periphery
If you have done this, can you share it with us or if you have 0r_lib open source, can you share it?
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.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.
If you could share with us the version that does not require 0r_lib, then people would rather bother with it.Also for the record, This is just 0r-craft. Doesn't look like NoPixel in the slightest.
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.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.
Bro you know a lot abt this but most of us don’t, just share the working version, ill pay 300creditsI 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.
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.Bro you know a lot abt this but most of us don’t, just share the working version, ill pay 300credits