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

posted 18-02-2024 12:16 20.707 views 136 replies 25 Credits
icpdk
0 Posts
52 Credits
N/A Since
#1 20.707 views 136 replies
0r-craft [NoPixel 4.0 Inspired] [open source] [attachment removed][/attachment][/open][/nopixel]
replies (20)
HUUBKE
9 Posts
67 Credits
Feb 2024 Since
#21
don't work can you please replace it
igorowy89
19 Posts
69 Credits
Feb 2024 Since
#22
Give Plz 0r-lib for work this
gypsi_cale
10 Posts
766 Credits
Dec 2023 Since
#23
no work need 0r lib bro ....
[CHARGE=30][/CHARGE]
Periphery
266 Posts
48 Credits
Sep 2021 Since
#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.
poncosugiyanto
7 Posts
29 Credits
Dec 2023 Since
#25
thank you brrooo, this is so good for me
runchan
269 Posts
1,013 Credits
Sep 2023 Since
#26
Thanks for this craft i test him !!
WestRust
301 Posts
600 Credits
Aug 2022 Since
#27

@@Periphery



If you have done this, can you share it with us or if you have 0r_lib open source, can you share it?
jenniieeee
87 Posts
72 Credits
Jan 2024 Since
#28
nice ,thank you for sharing
ahmed3502
21 Posts
1,687 Credits
Jan 2024 Since
#29

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

[attachment removed]

0r-craft [NoPixel 4.0 Inspired] [open source][/open][/nopixel][/attachment][/open][/nopixel]
Periphery
266 Posts
48 Credits
Sep 2021 Since
#30

WestRust,

@@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
42 Posts
2,520 Credits
May 2023 Since
#31

Periphery,
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.
Matex3011
203 Posts
38 Credits
Dec 2023 Since
#32
it works with the 0r motel ?
Periphery
266 Posts
48 Credits
Sep 2021 Since
#33

martink7331,
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.
Periphery
266 Posts
48 Credits
Sep 2021 Since
#34
Also for the record, This is just 0r-craft. Doesn't look like NoPixel in the slightest.
WestRust
301 Posts
600 Credits
Aug 2022 Since
#35

@@Periphery



Periphery,
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.
martink7331
42 Posts
2,520 Credits
May 2023 Since
#36

Periphery,
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.
Periphery
266 Posts
48 Credits
Sep 2021 Since
#37

martink7331,
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.
bl9z
15 Posts
3,647 Credits
Dec 2023 Since
#38

Periphery,
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
Periphery
266 Posts
48 Credits
Sep 2021 Since
#39

bl9z,
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.
martink7331
42 Posts
2,520 Credits
May 2023 Since
#40

Periphery,
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!

You must be logged in to reply

Login Register