mirror of
https://github.com/jimathy/jim-payments.git
synced 2026-08-16 22:06:02 +01:00
Re-add terminal item and info
This commit is contained in:
@@ -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
BIN
images/terminal.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user