Update xtc.lua
This commit is contained in:
1 parent
1afd23f63f
commit
dacabc74fc
1 file changed
+5
-5
+5
-5
@@ -142,7 +142,7 @@ RegisterNetEvent("md-drugs:client:stampwhite", function(data)
|
|||||||
title = 'Stamp XTC Menu',
|
title = 'Stamp XTC Menu',
|
||||||
options = {
|
options = {
|
||||||
{
|
{
|
||||||
icon = 'nui://'..Config.imagelink..QBCore.Shared.Items['white_xtc'].image,
|
icon = GetImage('white_xtc'),
|
||||||
title = 'White XTC',
|
title = 'White XTC',
|
||||||
onSelect = function()
|
onSelect = function()
|
||||||
if not minigame(2, 8) then Notify(Lang.xtc.fail, "error") return end
|
if not minigame(2, 8) then Notify(Lang.xtc.fail, "error") return end
|
||||||
@@ -151,7 +151,7 @@ RegisterNetEvent("md-drugs:client:stampwhite", function(data)
|
|||||||
end
|
end
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon = 'nui://'..Config.imagelink..QBCore.Shared.Items['red_xtc'].image,
|
icon = GetImage('red_xtc'),
|
||||||
title = 'Red XTC',
|
title = 'Red XTC',
|
||||||
onSelect = function()
|
onSelect = function()
|
||||||
if not minigame(2, 8) then Notify(Lang.xtc.fail, "error") return end
|
if not minigame(2, 8) then Notify(Lang.xtc.fail, "error") return end
|
||||||
@@ -160,7 +160,7 @@ RegisterNetEvent("md-drugs:client:stampwhite", function(data)
|
|||||||
end
|
end
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon = 'nui://'..Config.imagelink..QBCore.Shared.Items['orange_xtc'].image,
|
icon = GetImage('orange_xtc'),
|
||||||
title = 'Orange XTC',
|
title = 'Orange XTC',
|
||||||
onSelect = function()
|
onSelect = function()
|
||||||
if not minigame(2, 8) then Notify(Lang.xtc.fail, "error") return end
|
if not minigame(2, 8) then Notify(Lang.xtc.fail, "error") return end
|
||||||
@@ -169,7 +169,7 @@ RegisterNetEvent("md-drugs:client:stampwhite", function(data)
|
|||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon = 'nui://'..Config.imagelink..QBCore.Shared.Items['blue_xtc'].image,
|
icon = GetImage('blue_xtc'),
|
||||||
title = 'Blue XTC',
|
title = 'Blue XTC',
|
||||||
onSelect = function()
|
onSelect = function()
|
||||||
if not minigame(2, 8) then Notify(Lang.xtc.fail, "error") return end
|
if not minigame(2, 8) then Notify(Lang.xtc.fail, "error") return end
|
||||||
@@ -196,7 +196,7 @@ RegisterNetEvent("md-drugs:client:exchangepresses", function(data)
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
RegisterNetEvent("md-drugs:client:buypress", function()
|
RegisterNetEvent("md-drugs:client:buypress", function()
|
||||||
local img = 'nui://' .. Config.imagelink .. QBCore.Shared.Items['singlepress'].image
|
local img = icon = GetImage('singlepress'),
|
||||||
lib.registerContext({
|
lib.registerContext({
|
||||||
id = 'buypresses',
|
id = 'buypresses',
|
||||||
title = 'Purchase Presses',
|
title = 'Purchase Presses',
|
||||||
|
|||||||
Reference in new issue
Block a user