Hello, Fellow Players!
Small release today, but definitely one that I think is worth something.
This is a block minigame intended only for developers, it is not a “direct script” of sorts and requires implementation into another script.
How To Use In Your Script:
-- Register Command Just For Example, Include The Export In Your Actual Script
RegisterCommand('ApolloMinigameExample', function()
exports['Apollo-Minigame']:Blockgame(function(success)
if success then
-- Completed Event Code Here
else
-- Failed Event Code Here
end
end, true, true, true, true, 'Header Test Example', '#62cff8')
-- RequireMultipleClicks (Random 1-5) Per Block, PlaySoundOnClick, ShowPercent, ShowFlame, HeaderText, BoxColor
end)
If you need it, here is the corresponding fxmanifest.lua
fx_version('cerulean')
games({ 'gta5' })
client_scripts({
'client.lua'
});
Editable Options:
- You can also change the flame image by replacing the image "FLAME_WHITE.png" in the html folder.
- RequireMultipleClicks (Random 1-5) Per Block, PlaySoundOnClick, ShowPercent, ShowFlame, HeaderText, BoxColor
Thanks, enjoy! If you find an interesting use for it, be sure to post a screenshot of it in use!
Code Accessible: Yes
Support: Sure, DM me @ ApolloStudios#4510
Line Of Code: 500+
Apollo-Minigame.zip (34.6 KB)