Files
red-valley/resources/[framework]/[addons]/[notify]/qs-notify/example.lua
2026-03-29 21:41:17 +03:00

28 lines
841 B
Lua

RegisterCommand("testnsuccess", function()
exports['qs-notify']:Alert('This is a test notify', 6000, 'success')
end)
RegisterCommand("testnwarning", function()
exports['qs-notify']:Alert('This is a test notify', 6000, 'warning')
end)
RegisterCommand("testnerror", function()
exports['qs-notify']:Alert('This is a test notify', 6000, 'error')
end)
RegisterCommand("testninfo", function()
exports['qs-notify']:Alert('This is a test notify', 6000, 'info')
end)
RegisterCommand("testnpolice", function()
exports['qs-notify']:Alert('This is a test notify', 6000, 'police')
end)
RegisterCommand("testnambulance", function()
exports['qs-notify']:Alert('This is a test notify', 6000, 'ambulance')
end)
RegisterCommand("testnphone", function()
exports['qs-notify']:Alert('This is a test notify', 6000, 'phone')
end)