Hi, this is my first post, thanks for stopping by. I’m trying to create a server of my own and I want to implement this fleeca minigame script. NoPixel-minigame Script by Jesper-Hustad
Been trying to figure out how to call the export from the client side and have no luck so far, anyone know how I should go about doing this? I’m currently using the third eye target function to call the event like this.
RegisterNetEvent('bb-jewelrob:keypad')
AddEventHandler('bb-jewelrob:keypad', function()
if exports["bb-inventory"]:hasEnoughOfItem("Gruppe6Card3", 1, true) then
local minigame = exports["hacking"]:hack()
if (minigame == true) then
TriggerEvent("bb-keypad:unlockdoor")
TriggerEvent("inventory:removeItem", "Gruppe6Card3", 1)
else
TriggerEvent("inventory:removeItem", "Gruppe6Card3", 1)
TriggerEvent("DoLongHudText", "You Failed!", 2)
end
else
TriggerEvent("DoLongHudText", "Missing Items!", 2)
end
end)
But when I target it and attempt to run the event, it tells me “No such export hack in resource hacking”
Apparently there is already a similar line there, I checked this index.html with another one and it appears that this one is missing the language portion of it. Could that be the cause?
It seems like there is some conflict between the .js files and the index.html in the hacking resource file that is preventing it from working but I can’t tell what it is. Can anyone help?