Notify
Show notify.
exports.nosql_ui:Notify(data)Parameters
- notificationType:
string'info''success''error''warning'
- title:
string - message:
string - time:
number
Example
exports.nosql_ui:Notify({
notificationType = 'info',
title = 'Title',
message = 'Example',
time = 5000
})ProgressBar
Show progressbar.
exports.nosql_ui:ProgressBar(data)Parameters
- message:
string - time:
number - freezePlayer:
boolean - animation:
object{type = string, dict = string, type = string} - method:
function()
Example
exports.nosql_ui:ProgressBar({
message = 'Example',
time = 10000,
freezePlayer = true,
animation ={
type = "anim",
dict = "mini@prostitutes@sexlow_veh",
lib ="low_car_sex_to_prop_p2_player"
},
onFinish = function()
print("finish")
end
})