Re-add terminal item and info

This commit is contained in:
Jim Shield
2025-05-21 10:59:07 +01:00
parent fdf92fde64
commit 4bc2aaa95f
3 changed files with 13 additions and 2 deletions

View File

@@ -45,7 +45,12 @@ If you enable Config.General.Usebzzz then the script will use `bzzz_terminal` to
- `/cashregister` - `/cashregister`
- `/terminal` - `/terminal`
This payment terminal is available as a Free Package from https://bzzz.tebex.io/package/5551076 This is also available as an item users can use by adding this to your shared items
```lua
terminal = { name = 'terminal', label = 'Wireless Terminal', weight = 5000, ["type"] = "item", ["image"] = 'terminal.png', unique = true, useable = true, ["shouldClose"] = true, ["combinable"] = nil, description = '' },
```
This payment terminal prop is available as a Free Package from https://bzzz.tebex.io/package/5551076
--- ---
## Item installation ## Item installation

BIN
images/terminal.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -19,6 +19,12 @@ onResourceStart(function()
}) })
end end
if Items["terminal"] then
createUseableItem("terminal", function(source, item)
TriggerClientEvent(getScript()..":client:Charge", source, {}, true)
end)
end
createCallback(getScript()..":MakePlayerList", function(source) createCallback(getScript()..":MakePlayerList", function(source)
local onlineList = {} local onlineList = {}
for _, v in pairs(GetPlayers()) do for _, v in pairs(GetPlayers()) do