Minigame Exports
Here you can learn how to use exports of minigames
Last updated
Here you can learn how to use exports of minigames
Last updated
-- @param1 difficulty (easy, normal, hard)
-- @param2 duration (second)
local success = exports['rm_minigames']:typingGame("easy", 20)
if success then
print("SUCCESS")
else
print("FAILED")
end
-- @param1 speed (value)
local success = exports['rm_minigames']:timedLockpick(200)
if success then
print("SUCCESS")
else
print("FAILED")
end
-- @param1 locks (count)
local success = exports['rm_minigames']:timedAction(3)
if success then
print("SUCCESS")
else
print("FAILED")
end
-- @param1 difficulty (easy, normal, hard)
local success = exports['rm_minigames']:quickTimeEvent("easy")
if success then
print("SUCCESS")
else
print("FAILED")
end
-- @param1 difficulty (easy, normal, hard)
local success = exports['rm_minigames']:combinationLock("easy")
if success then
print("SUCCESS")
else
print("FAILED")
end
-- @param1 decay rate (value)
-- @param2 increment rate (value)
local success = exports['rm_minigames']:buttonMashing(5, 10)
if success then
print("SUCCESS")
else
print("FAILED")
end
-- @param1 difficulty (easy, normal, hard)
local success = exports['rm_minigames']:angledLockpick("easy")
if success then
print("SUCCESS")
else
print("FAILED")
end
-- @param1 time (value)
-- param2 live (count)
local success = exports['rm_minigames']:fingerPrint(200, 5)
if success then
print("SUCCESS")
else
print("FAILED")
end
-- @param1 time (value)
local success = exports['rm_minigames']:hotwireHack(10)
if success then
print("SUCCESS")
else
print("FAILED")
end
-- @param1 lenght (value)
-- @param2 live (count)
local success = exports['rm_minigames']:hackerMinigame(5, 3)
if success then
print("SUCCESS")
else
print("FAILED")
end
-- @param1 difficulty (easy, normal, hard)
local success = exports['rm_minigames']:safeCrack("easy")
if success then
print("SUCCESS")
else
print("FAILED")
end
-- @param1 miss count (value)
-- @param2 difficulty (easy, normal, hard)
local success = exports['rm_minigames']:timedButton(3, "normal")
if success then
print("SUCCESS")
else
print("FAILED")
end
-- @param1 miss count (value)
-- @param2 win count (value)
-- @param3 difficulty (easy, normal, hard)
local success = exports['rm_minigames']:timedBar(3, 1, "normal")
if success then
print("SUCCESS")
else
print("FAILED")
end
-- @param1 miss count (value)
-- @param2 max score (value)
-- @param3 difficulty (easy, normal, hard)
local success = exports['rm_minigames']:circleClick(3, 10, "normal")
if success then
print("SUCCESS")
else
print("FAILED")
end
-- @param1 miss count (value)
-- @param2 lock count (value)
local success = exports['rm_minigames']:multipleLockpick(3, 5)
if success then
print("SUCCESS")
else
print("FAILED")
end
-- @param1 difficulty (easy, normal, hard)
local success = exports['rm_minigames']:memoryGame("easy")
if success then
print("SUCCESS")
else
print("FAILED")
end