ps-ui fix

This commit is contained in:
Mustache Dom committed 2024-12-16 03:34:20 -08:00
1 parent 79569a18b6
commit aca346cc1c
6 files changed
+7 -6

No files matched your search

+1
View File
@@ -4,6 +4,7 @@ lib.callback.register("md-drugs:client:prescriptionpad", function(data, op)
local input = lib.inputDialog('Who To Give A Prescription To?',{
{type = 'select', label = 'Player Name', options = data},
{type = 'select', label = 'Prescription', options = op}})
if not input[1] then return end
if not progressbar(Lang.Pharma.write, 4000, 'notepad') then return end
return {who = input[1], what = input[2]}
end)