From 34a1d0d5047af4f097aae36a81d275bdf4874cb0 Mon Sep 17 00:00:00 2001 From: Jim Shield Date: Wed, 6 Sep 2023 19:24:03 +0100 Subject: [PATCH] Fix image links from jim-mechanic not showing correctly --- client/client.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/client/client.lua b/client/client.lua index e43e5f6..a8b94c4 100644 --- a/client/client.lua +++ b/client/client.lua @@ -82,6 +82,7 @@ RegisterNetEvent('jim-payments:client:Charge', function(data, outside) end --Check if image was given when opening the regsiter local img = data.img or "" + if not string.find(img, "<") then img = "

" end --Continue adding payment options to qb-input newinputs[#newinputs+1] = { type = 'radio', name = 'billtype', text = Loc[Config.Lan].menu["type"], options = { { value = "cash", text = Loc[Config.Lan].menu["cash"] }, { value = "bank", text = Loc[Config.Lan].menu["card"] } } } newinputs[#newinputs+1] = { type = 'number', isRequired = true, name = 'price', text = Loc[Config.Lan].menu["amount_charge"] }