Update server.lua
This commit is contained in:
1 parent
fb86ec25d2
commit
5741abc0ba
1 file changed
+2
-2
+2
-2
@@ -22,13 +22,13 @@ AddEventHandler("weapons:giveWeapon", function(weapon, label)
|
|||||||
if success then
|
if success then
|
||||||
TriggerClientEvent('ox_lib:notify', src, {
|
TriggerClientEvent('ox_lib:notify', src, {
|
||||||
title = 'Weapon Menu',
|
title = 'Weapon Menu',
|
||||||
description = 'You received : ' .. label,
|
description = 'You received: ' .. label,
|
||||||
type = 'success'
|
type = 'success'
|
||||||
})
|
})
|
||||||
else
|
else
|
||||||
TriggerClientEvent('ox_lib:notify', src, {
|
TriggerClientEvent('ox_lib:notify', src, {
|
||||||
title = 'Weapon Menu',
|
title = 'Weapon Menu',
|
||||||
description = 'Impossible to receive the weapon ' .. weapon,
|
description = 'Impossible to receive the weapon: ' .. label,
|
||||||
type = 'error'
|
type = 'error'
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user