Skip to content

Commit

Permalink
tweak: small randoms
Browse files Browse the repository at this point in the history
  • Loading branch information
tabarra committed Apr 5, 2023
1 parent 77b47cc commit b0dbf50
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion fxmanifest.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-- Modifying or rewriting this resource for local use only is strongly discouraged.
-- Feel free to open an issue or pull request in our GitHub.
-- Official discord server: https://discord.gg/AFAAXzq
-- Official discord server: https://discord.gg/txAdmin

author 'Tabarra'
description 'Remotely Manage & Monitor your GTA5 FiveM Server'
Expand Down
6 changes: 6 additions & 0 deletions resource/cl_main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ CreateThread(function()
TriggerEvent('chat:removeSuggestion', '/txAdmin:menu:endSpectate')
TriggerEvent('chat:removeSuggestion', '/txAdmin:menu:openPlayersPage')
TriggerEvent('chat:removeSuggestion', '/txAdmin:menu:togglePlayerIDs')
TriggerEvent('chat:removeSuggestion', '/txAdmin:menu:specNextPlayer')
TriggerEvent('chat:removeSuggestion', '/txAdmin:menu:specPrevPlayer')

--Convars
TriggerEvent('chat:removeSuggestion', '/txAdmin-version')
Expand All @@ -111,6 +113,10 @@ CreateThread(function()
TriggerEvent('chat:removeSuggestion', '/txAdmin-checkPlayerJoin')
TriggerEvent('chat:removeSuggestion', '/txAdmin-pipeToken')
TriggerEvent('chat:removeSuggestion', '/txAdmin-debugMode')
TriggerEvent('chat:removeSuggestion', '/txAdmin-hideDefaultAnnouncement')
TriggerEvent('chat:removeSuggestion', '/txAdmin-hideDefaultDirectMessage')
TriggerEvent('chat:removeSuggestion', '/txAdmin-hideDefaultWarning')
TriggerEvent('chat:removeSuggestion', '/txAdmin-hideDefaultScheduledRestartWarning')
TriggerEvent('chat:removeSuggestion', '/txAdminServerMode')

--Menu convars
Expand Down
1 change: 1 addition & 0 deletions web/public/js/txadmin/players.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ function setPlayerlistMessage(message) {
Array.from(playerlistElement.children).forEach((el) => el.hidden = true);
plistMsgElement.textContent = message;
plistMsgElement.hidden = false;
plistCountElement.textContent = '--';
}

function processPlayerlistEvents(events) {
Expand Down

0 comments on commit b0dbf50

Please sign in to comment.