HighLeaks
Help

PA Crafting NoPixel 4.0 inspired [Open Source]

martink7331 martink7331 Started 35 replies 6,831 views 70 Credits

Download Link Locked

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

Login to unlock
#1
Hello everyone! I am sharing you the latest version of pa-crafting completely open-source. In the pack even I included pa-props again OPEN source so you won't worry about that also. The only problem is that it uses pa-lib-2, script works fine! Just the lib is encrypted. If someone wants to help and decrypt are welcome. If you have more information message in the comments of the post. Preview
#1
Releaking...



from https://highleaks.com/threads/pa-scripts-nopixel-4-0-inspired-craft-system-open-source.26333/



Just delete this thread at this point
#2




Missxng,

wrote:







not really, if u check date this one is up to date and it also offer the updated pa-props
#3




monetleak3d,

wrote:



not really, if u check date this one is up to date and it also offer the updated pa-props




it probably doesnt work like the other one. regardless. you can place the crafting bench
#4




Missxng,

wrote:



it probably doesnt work like the other one. regardless. you can place the crafting bench




pa-props works perfectly, instead of crafting that needs the lib
#5
still working on it to make it work
#6
lets go, thought was more difficult but it was really easy xD
#7




monetleak3d,

wrote:



lets go, thought was more difficult but it was really easy xD




u can send it to me please?
#8




martink7331,

wrote:



Hello everyone! I am sharing you the latest version of pa-crafting completely open-source. In the pack even I included pa-props again OPEN source so y...




thanks for this! going to test it out right now!
#9




monetleak3d,

wrote:



vamos, pensé que era más difícil pero fue realmente fácil xD




¿Cuantos creditos por el trabajo del guion?
#10




monetleak3d,

wrote:



lets go, thought was more difficult but it was really easy xD




How many credits for the script working?
#11




martink7331,

wrote:



Hello everyone! I am sharing you the latest version of pa-crafting completely open-source. In the pack even I included pa-props again OPEN source so y...




Try all with :

RegisterNetEvent('pa-craft:openMenu')

AddEventHandler('pa-craft:openMenu', function(receivedMenuId)

menuId = receivedMenuId



-- This section handles the menu open state directly

menuOpen = true



-- Fetch the weapon item details and open the NUI menu

TriggerCallback('pa-craft:GetWeaponItem', function(callback, Queue)

SendNUIMessage({

type = "open",

weaponAttachment = {},

weapons = callback,

craftItems = PA.CraftItems,

append = true,

Queue = Queue,

folder = PA.InventoryFolder

})



menuOpen = true

SetNuiFocus(true, true)



while menuOpen do

Citizen.Wait(1000)

TriggerCallback('pa-craft:queueUpdate', function(callback)

SendNUIMessage({

type = "queueUpdate",

Queue = callback,

folder = PA.InventoryFolder

})

end, menuId)

end

end)



SetEntityVisible(PlayerPedId(), false)



-- Event listener to handle closing the menu

RegisterNUICallback('closeMenu', function(data, cb)

menuOpen = false

SetNuiFocus(false, false)

SetEntityVisible(PlayerPedId(), true)

cb('ok')

end)

end)

this replaced function it should open the crafting but it wont handle the receivedMenuId, should find out how this can be done so the pa-lib-2 it will not be needed
#12
The attention to detail in this script is impressive, making it a must-have for any serious gamer.
#13




martink7331,

wrote:



Try all with :

RegisterNetEvent('pa-craft:eek:penMenu')

AddEventHandler('pa-craft:eek:penMenu', function(receivedMenuId)

menuId = ...




where should this be added?
#14




FivemDev_,

wrote:



where should this be added?




replace the main function with it and it will start works but not completely how it is supposed to
#15
Please I Need

[CHARGE=7][/CHARGE]
#16




martink7331,

wrote:



replace the main function with it and it will start works but not completely how it is supposed to




https://streamable.com/222uzr i think i completly fixed it
#17




monetleak3d,

wrote:



https://streamable.com/222uzr i think i completly fixed it




Good job G! Can you share it?
#18




martink7331,

wrote:



Hello everyone! I am sharing you the latest version of pa-crafting completely open-source. In the pack even I included pa-props again OPEN source so y...




Good job man. Thank you
#19
Thanks for this upload mate
#20




monetleak3d,

wrote:



https://streamable.com/222uzr i think i completly fixed it




Thanks for the fix! Look forward on seeing it. Also which inventory is this? Been looking for one for a while now :)