📌Informations / Typical Errors
This page will give you information about the script. Also are typical Errors listed, so that you can easily fix them!
Change the TX Admin Notifys
AddEventHandler(
"txAdmin:events:scheduledRestart",
function(eventData)
if eventData.secondsRemaining ~= 60 then
TriggerClientEvent(
"SService:Client:AnnounceNotify",
-1,
string.format("Der Server wird in %s Minuten neugestartet!", math.ceil(eventData.secondsRemaining / 60)),
1,
"txAdmin",
5,
1,
1
)
else
TriggerClientEvent(
"SService:Client:AnnounceNotify",
-1,
string.format("Der Server wird in %s Minuten neugestartet!", math.ceil(eventData.secondsRemaining / 60)),
1,
"txAdmin",
5,
1,
1
)
end
end
)
AddEventHandler(
"txAdmin:events:announcement",
function(data)
TriggerClientEvent("SService:Client:AnnounceNotify", -1, data.author .. ": " .. data.message, 1, "txAdmin", 5, 1, 1)
end
)
AddEventHandler(
"txAdmin:events:playerDirectMessage",
function(data)
TriggerClientEvent("SService:Client:TeamNotifyScript", data.target, data.message, 5, data.author, 1, 1)
end
)Possible Installing Issues
Failed to verify protected resource...
You lack the required entitlement to use...
Possible Script Issues
- No Issues known yet
Last updated