Drill
Description
Minigames.Drill(callback, discCount)
Arguments
Argument
Data Type
Optional
Explanation
callbacks
boolean
no
callback for checking if the player had success
discCount
integer
yes
DiscCount the player needs to drill through. Default 3
Example
local discnumber = 3
qtm.Minigames.Drill(function(status)
if status then
lib.notify({
title = 'You made it',
type = 'success'
})
else
lib.notify({
title = 'Stupid',
type = 'error'
})
end
end, discnumber)
Last updated