Messages
8
Reactions
0
Credits
642
Joined
Jan 2023
Messages
9
Reactions
0
Credits
27
Joined
Feb 2024
Messages
19
Reactions
0
Credits
29
Joined
Feb 2024
Messages
10
Reactions
0
Credits
681
Joined
Dec 2023
Messages
266
Reactions
1
Credits
23
Joined
Sep 2021
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.
Messages
7
Reactions
0
Credits
9
Joined
Dec 2023
Messages
271
Reactions
0
Credits
1,038
Joined
Sep 2023
Messages
296
Reactions
1
Credits
512
Joined
Aug 2022
[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?
If you have done this, can you share it with us or if you have 0r_lib open source, can you share it?
Messages
87
Reactions
0
Credits
42
Joined
Jan 2024
Messages
21
Reactions
0
Credits
1,677
Joined
Jan 2024
icpdk,
wrote:
0r-craft [NoPixel 4.0 Inspired] [open source]
[attachment removed]
-=Stripped Content=-
[attachment removed]
-=Stripped Content=-
0r-craft [NoPixel 4.0 Inspired] [open source][/open][/nopixel][/attachment][/open][/nopixel]
Messages
266
Reactions
1
Credits
23
Joined
Sep 2021
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?
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.
Messages
42
Reactions
1
Credits
2,475
Joined
May 2023
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.
Messages
203
Reactions
1
Credits
8
Joined
Dec 2023
Messages
266
Reactions
1
Credits
23
Joined
Sep 2021
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.
Messages
266
Reactions
1
Credits
23
Joined
Sep 2021
Also for the record, This is just 0r-craft. Doesn't look like NoPixel in the slightest.
Messages
296
Reactions
1
Credits
512
Joined
Aug 2022
[HEADING=3]@@Periphery [/HEADING]
Periphery,
wrote:
If you could share with us the version that does not require 0r_lib, then people would rather bother with it.
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.
Messages
42
Reactions
1
Credits
2,475
Joined
May 2023
Periphery,
wrote:
local modelHash = object.name
if not HasModelLoaded(modelHash) then
RequestModel(modelHash)
while not HasModelLoaded(modelHash) do
Citizen.Wait(1)
e...
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.
Messages
266
Reactions
1
Credits
23
Joined
Sep 2021
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.
Messages
15
Reactions
0
Credits
3,302
Joined
Dec 2023
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...
cre...
Bro you know a lot abt this but most of us don’t, just share the working version, ill pay 300credits
Messages
266
Reactions
1
Credits
23
Joined
Sep 2021
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.
Messages
42
Reactions
1
Credits
2,475
Joined
May 2023
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!