Minigame by DARK DESIGNS
Hello everyone!
This script should hopefully have everything on board to provide you with a simple minigame. This script is a click time event minigame where you can set the difficulty in the config. If you have any ideas or suggestions for improvement, you are welcome to comment and we will be inspired by you in the next update.
Preview:
Features:
- Configurable difficulty level in the trigger
- Configurable duration in the trigger
- Click time event with win or lose
Updates:
Version: 1.1.0
- Put difficulty in the Trigger (1 Easy - 3 Hard)
Version: 1.2.0
- Put Time into the trigger (default 20)
Installation:
1.) Put this line of code in your server.cfg: ensure dd_minigame
2.) Done
How to use:
You just need to put the Event-Trigger into your code and you will get and outcome as “true” or “false”.
Here an example:
TriggerEvent("dd_minigame:start", difficulty, time, function(outcome)
if outcome == true then
print("DONE")
elseif outcome == false then
print("NOT DONE")
end
end)
Documentation:
For more informations you can have a look on our Documents
To Do-List:
- Put the difficulty in the Trigger [DONE]
- Put the duration in the Trigger [DONE]
Download:
Dependencys:
NONE
Other Scripts:
Any Questions or Problems? Just ask below!