π― FRKN Skillbar Export#
A custom skillbar minigame system for FiveM, built into frkn-notify UI.
Supports different minigame types (e.g., minigame-1, minigame-2).
π Usage#
exports['frkn-uikit']:StartSkillbar("minigame-2", "Hack the system", function(success)
if success then
print("β
Player completed the skillbar successfully!")
else
print("β Player failed the skillbar.")
end
end)
π Parameters#
| Parameter | Type | Description |
|---|---|---|
minigameType | string | Minigame UI type (e.g., "minigame-1", "minigame-2") |
text | string | Text to display during the minigame |
cb(success) | function | Callback returning true if successful, false if failed |
π Example Command#
RegisterCommand('skill', function()
exports['frkn-uikit']:StartSkillbar("minigame-2", "Hack the system", function(success)
if success then
print("Hack completed β
")
else
print("Hack failed β")
end
end)
end)
π Works seamlessly with the Notify and Progressbar exports, using the same UI model system.