Request Menu
Last updated
Last updated
exports['jale_interface']:Request(options)
options = {
title = 'TITLE', -- required option
text = 'TEXT', -- required option
keys = {
accept = 'Y', -- required option, key for accept
decline = 'N', -- required option, key for decline
},
duration = 5000, -- duration of request menu
onAccept = function () -- function when player accept request
print('accepted')
end,
onDecline = function () -- function when player decline request
print('declined')
end
}