mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 16:23:21 +00:00
Added exception handler when invalid item is found, closes #32
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ function OpenShopMenu(zone)
|
||||
end
|
||||
|
||||
table.insert(elements, {
|
||||
label = item.label .. ' - <span style="color: green;">$' .. item.price .. '</span>',
|
||||
label = item.label .. ' - <span style="color: green;">$' .. ESX.Math.GroupDigits(item.price) .. '</span>',
|
||||
label_real = item.label,
|
||||
item = item.item,
|
||||
price = item.price,
|
||||
|
||||
Reference in New Issue
Block a user