Functions
...
OnResult = function(data)
-- Data contains the following values:
-- id (number) - quiz id
-- percent (number) - percentage of correct answers
-- result (string) - result (passed/failed)
-- EXAMPLE:
if data.result == "passed" then
-- PASTE THE FUNCTION HERE! <---
else
print("You failed the quiz!")
print(data.percent .. " % of your answers were correct!")
end
end,
},Give Item
Value
Explanation
Give license
Last updated