This resource introduces a Simon Says minigame. Players must memorize and repeat a sequence of illuminated tiles, with the sequence increasing in length each round.
Feel free to star the repository and check out my store and discord @ Discord: https://discord.gg/FzPehMQaBQ & Store: https://fivem.samueldev.shop For support inquiries, please create a post in the support-forum channel on discord or create an issue here on Github.
FiveM_b2944_GTAProcess_08b3CemOuy.mp4
(The Minigame does make sound, the video simply isn't capturing my computers sounds)
- Clone or download this resource.
- Place it in the server's resource directory.
- Add the resource to your server config.
OpenSimonSays(gridSize, repetitions)gridSize: Size of the game grid (e.g.,4for a 4x4 grid). (3 is the minimum, 7 is the maximumrepetitions: Number of sequences the player must correctly repeat to win. (ex. 4)
Exclusively available on the client side.
StartSimonSays: Initiates the Simon Says game with specified parameters.
RegisterCommand('testSimon', function()
exports['sd-simonsays']:StartSimonSays(function(success)
if success then
print("Success")
else
print("Failed")
end
end, 4, 3)
end)