HighLeaks
Help

0r-craft [NoPixel 4.0 Inspired] [open source]

icpdk icpdk Started 136 replies 19,870 views 25 Credits

Download Link Locked

Pay 25 credits to unlock the download link for 24 hours.

Login to unlock
#1
0r-craft [NoPixel 4.0 Inspired] [open source] [attachment removed][/attachment][/open][/nopixel]
#21
don't work can you please replace it
#22
Give Plz 0r-lib for work this
#23
no work need 0r lib bro ....

[CHARGE=30][/CHARGE]
#24
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.
#25
thank you brrooo, this is so good for me
#26
Thanks for this craft i test him !!
#27
[HEADING=3]@@Periphery [/HEADING]



If you have done this, can you share it with us or if you have 0r_lib open source, can you share it?
#28
nice ,thank you for sharing
#29




icpdk,

wrote:



0r-craft [NoPixel 4.0 Inspired] [open source]



[attachment removed]

-=Stripped Content=-




0r-craft [NoPixel 4.0 Inspired] [open source][/open][/nopixel][/attachment][/open][/nopixel]
#30




WestRust,

wrote:



[HEADING=3]@@Periphery [/HEADING]



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.
#31




Periphery,

wrote:



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 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.
#32
it works with the 0r motel ?
#33




martink7331,

wrote:



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 ins...






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.
#34
Also for the record, This is just 0r-craft. Doesn't look like NoPixel in the slightest.
#35
[HEADING=3]@@Periphery [/HEADING]





Periphery,

wrote:



Also for the record, This is just 0r-craft. Doesn't look like NoPixel in the slightest.




If you could share with us the version that does not require 0r_lib, then people would rather bother with it.
#36




Periphery,

wrote:



local modelHash = object.name



if not HasModelLoaded(modelHash) then

RequestModel(modelHash)



while not HasModelLoaded(modelHash) do

Citizen.Wait(1)

e...




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.
#37




martink7331,

wrote:



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 w...






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.
#38




Periphery,

wrote:



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



cre...




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




bl9z,

wrote:



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.
#40




Periphery,

wrote:



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 lit...




Hi again! The problem with me is this function Koci.Client.Craft:AddAttachmentToWeapon(_weapon, newAttachment, cb), i made the function LoadWeaponOnTable and the LoadPropOnTable all works fine i see the weapons, but the attachments i cant figure out how to add them for now i have them added with 0 , 0 , 0 coords and then i attach them to the weapon but not working fine with the coords of the actual weapon object. If you can explain me that i'll be glad!