Progress bar
Replace/Disable
Event
RegisterNetEvent("farming_creator:internalProgressBar", function(time, text)
end)Parameters
Name
Data Type
Description
Example
-- In farming_creator/integrations/cl_integrations.lua
RegisterNetEvent("farming_creator:framework:ready", function()
-- Disables the default script progress bar (otherwise there would be 2 progress bars)
exports["farming_creator"]:disableScriptEvent("farming_creator:internalProgressBar")
end)
-- Example to replace the script progress bar with an external one
RegisterNetEvent("farming_creator:internalProgressBar", function(time, text)
-- The event to activate your external progress bar
TriggerEvent("external_progressbar:start", time, text)
end)Where to insert the code?
Use in external scripts
Parameters
Name
Data type
Description
Example
Last updated