Update xtc.lua

This commit is contained in:
Mustache Dom authored and GitHub committed 2024-05-25 20:54:20 -07:00
1 parent 2494cbc06d
commit 1afd23f63f
1 file changed
+4 -4
+4 -4
View File
@@ -67,28 +67,28 @@ RegisterNetEvent("md-drugs:client:XTCMenu", function(type)
title = 'XTC Menu', title = 'XTC Menu',
options = { options = {
{ {
icon = 'nui://'..Config.imagelink..QBCore.Shared.Items['white_xtc'].image, icon = GetImage('white_xtc'),
title = 'White XTC', title = 'White XTC',
description = '1 X Raw XTC', description = '1 X Raw XTC',
event = "md-drugs:client:MakeXTC", event = "md-drugs:client:MakeXTC",
args = { data = type, color = 'white'} args = { data = type, color = 'white'}
}, },
{ {
icon = 'nui://'..Config.imagelink..QBCore.Shared.Items['red_xtc'].image, icon = GetImage('red_xtc'),
title = 'Red XTC', title = 'Red XTC',
description = '1 X Raw XTC and 1 X Loose Coke', description = '1 X Raw XTC and 1 X Loose Coke',
event = "md-drugs:client:MakeXTC", event = "md-drugs:client:MakeXTC",
args = { data = type, color = 'red'} args = { data = type, color = 'red'}
}, },
{ {
icon = 'nui://'..Config.imagelink..QBCore.Shared.Items['orange_xtc'].image, icon = GetImage('orange_xtc'),
title = 'Orange XTC', title = 'Orange XTC',
description = '1 X Raw XTC and 1 X Heroin Vial', description = '1 X Raw XTC and 1 X Heroin Vial',
event = "md-drugs:client:MakeXTC", event = "md-drugs:client:MakeXTC",
args = { data = type, color = 'orange'} args = { data = type, color = 'orange'}
}, },
{ {
icon = 'nui://'..Config.imagelink..QBCore.Shared.Items['blue_xtc'].image, icon = GetImage('blue_xtc'),
title = 'Blue XTC', title = 'Blue XTC',
description = '1 X Raw XTC and 1 X Crack Rock', description = '1 X Raw XTC and 1 X Crack Rock',
event = "md-drugs:client:MakeXTC", event = "md-drugs:client:MakeXTC",