
Config
_4p = {
Framework = "esx", -- Framework you are using (esx, qbcore or custom)
pageLink = "https://4projects.dev/", -- Tebex/Discord or whatever link you want to open when clicking on the logo
ButtonSound = true, -- Enable or disable button sound
lang = "en", -- Language of the script (en, de, fr, es, it, nl, pl)
}
_4p.openCallback = function(cb)
-- local isDead = exports["esx_ambulancejob"]:isPlayerDead()
-- local isCuffed = exports["jobs_creator"]:isPlayerHandcuffed()
-- if not isDead then
-- if isCuffed then
-- cb(false)
-- return
-- end
-- cb(true)
-- else
-- cb(false)
-- end
cb(true)
end
_4p.notify = function(message, source)
if IsDuplicityVersion() then
if _4p.Framework == "esx" then
TriggerClientEvent("esx:showNotification", source, message)
elseif _4p.Framework == "qbcore" then
TriggerClientEvent("QBCore:Notify", source, message)
else
print("^1[4p-FishingScript] ^3You are using a custom framework, please add a notification function to the config.lua^7")
end
else
if _4p.Framework == "esx" then
Framework.object.ShowNotification(message)
elseif _4p.Framework == "qbcore" then
Framework.object.Functions.Notify(message)
else
print("^1[4p-FishingScript] ^3You are using a custom framework, please add a notification function to the config.lua^7")
end
end
end
_4p.language = {
["en"] = {
desc = "YOUR GAME",
descborder = "YOUR GAME",
title = "IS PAUSED",
money = "Money",
job = "Job",
quitTitle = "You are Quitting",
quitDesc = "Are you sure you want to quit? Please confirm your action.",
yes = "Yes",
no = "No",
},
["de"] = {
desc = "DEIN SPIEL",
descborder = "DEIN SPIEL";
title = "IST PAUSIERT",
money = "Geld",
job = "Job",
quitTitle = "Du beendest",
quitDesc = "Bist du sicher, dass du beenden möchtest? Bitte bestätige deine Aktion.",
yes = "Ja",
no = "Nein",
},
}
If you’re experiencing any issues, don’t worry! We’ve got you covered. Just open a ticket in our Discord, and our team will work hard to assist you.
Key Features:
🡂 Supports ESX/QB
🡂 Change Theme Color
🡂 Add your tebex link or deplace it with discord or whatever you want
🡂 Change the character image in the middle

| Code is accessible | 50% |
| Subscription-based | No |
| Lines (approximately) | 100 |
| Requirements | No |
| Support | Yes |




