Skip to content

Commit 3b27630

Browse files
committed
Addendum to 86375c4
1 parent 86375c4 commit 3b27630

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

[admin]/acpanel/meta.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<meta>
2-
<info description="Anti-Cheat Control Panel" author="ccw" version="0.1.8" type="script" />
3-
<min_mta_version server="1.3.1" client="1.3.1"></min_mta_version>
2+
<info description="Anti-Cheat Control Panel" author="ccw" version="0.2.0" type="script" />
3+
<min_mta_version server="1.6.0" client="1.6.0"></min_mta_version>
44

55
<script src="_common.lua"/>
66
<script src="s_joiner.lua"/>
@@ -20,7 +20,7 @@
2020

2121

2222
<settings>
23-
<setting name="*admingroup" value="Admin,AdminPlus"
23+
<setting name="*admingroup" value="Admin"
2424
friendlyname="Admin group list"
2525
group="_Advanced"
2626
accept="*"

[admin]/acpanel/s_main.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function updatePlayer(player)
4747

4848
if newAllowed and not oldAllowed then
4949
bindKey( player, "o", "down", "Show_AC_Panel" )
50-
outputChatBox ( "Press 'o' to open your AC panel", player )
50+
outputChatBox ( "Press 'o' to open AC panel", player )
5151
if not bAllowGui then return end
5252
sendAllSettingsToClient()
5353
triggerClientEvent(player, 'onAcpClientInitialSettings', resourceRoot, getServerConfigSettingsToTransfer() )
@@ -113,10 +113,10 @@ function doesResourceHasPermissions()
113113
end
114114

115115
if not bResourceHasPermissions then
116-
outputChatBox( "AC Panel can not start until this command is run:" )
117-
outputChatBox( "aclrequest allow acpanel all" )
116+
outputServerLog( "AC Panel can not start until this command is run:" )
117+
outputServerLog( "aclrequest allow acpanel all" )
118118
else
119-
outputChatBox( "Please restart AC Panel" )
119+
outputServerLog( "Please restart AC Panel" )
120120
end
121121
return false
122122
end

[admin]/acpanel/s_settings.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ function onGotAcPanelVersInfo( responseData, errno )
247247
setPanelSetting( "acpanelVersion", acpanelVersion )
248248
setPanelSetting( "acpanelUrl", acpanelUrl )
249249
if acpanelVersion > _version then
250-
outputChatBox("New version of Anti-Cheat panel is available!")
250+
outputServerLog("New version of Anti-Cheat panel is available!")
251251
end
252252
end
253253
end

0 commit comments

Comments
 (0)