1
0
Fork 0
forked from Simnation/Main
Main/resources/[creator]/ws_einreise/README.md

31 lines
732 B
Markdown
Raw Permalink Normal View History

2025-06-07 08:51:21 +02:00
# Thanks for buying ws_einreise!
# Please read carefully
# also do not forget to import the sql (sql/sql.sql)
# NEW: API Support for ws_support-cp
# You can find a example in /server/api.lua
# PERMISSIONS (server.cfg)
add_ace group.admin ws_einreise allow
add_ace identifier.discord:0000000000 ws_einreise allow
## SERVER EXPORTS ##
```lua
local info = exports["ws_einreise"]:GetInfo()
print("New Players: " .. info.einreise)
print("Admins on Duty: " .. info.duty)
```
```lua
local admin = 1
local target = 2
local text = "Einreise bestanden"
local success, errMsg = exports["ws_einreise"]:Whitelist(admin, target, text)
print("Success", tostring(success))
print("Error", tostring(errMsg))
```