Skip to content

Commit 1fb048f

Browse files
committed
Remove useless codes & autologin.xml
1 parent 068144a commit 1fb048f

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

[admin]/admin/client/gui/admin_main.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,8 @@ y=y+B aTab1.VehicleHealth = guiCreateLabel ( 0.26, y, 0.25, 0.04, "Vehicle Heal
342342
aTab6.AdminChatOutput = guiCreateCheckBox ( 0.05, 0.20, 0.47, 0.04, "Output admin messages to chat box", false, true, aTab6.Tab )
343343
guiCreateHeader ( 0.03, 0.30, 0.47, 0.04, "Appearance:", true, aTab6.Tab )
344344
guiCreateHeader ( 0.63, 0.05, 0.10, 0.05, "Account:", true, aTab6.Tab )
345-
aTab6.AutoLogin = guiCreateCheckBox ( 0.65, 0.10, 0.47, 0.04, "Auto-login by serial", false, true, aTab6.Tab )
346-
guiSetVisible ( aTab6.AutoLogin, false ) -- Not used
345+
-- aTab6.AutoLogin = guiCreateCheckBox ( 0.65, 0.10, 0.47, 0.04, "Auto-login by serial", false, true, aTab6.Tab )
346+
-- guiSetVisible ( aTab6.AutoLogin, false ) -- Not used
347347
guiCreateHeader ( 0.63, 0.15, 0.25, 0.05, "Change Password:", true, aTab6.Tab )
348348
guiCreateLabel ( 0.65, 0.20, 0.15, 0.05, "Old password:", true, aTab6.Tab )
349349
guiCreateLabel ( 0.65, 0.25, 0.15, 0.05, "New password:", true, aTab6.Tab )
@@ -1177,8 +1177,8 @@ function aClientClick ( button )
11771177
end
11781178
elseif ( source == aTab6.PerformanceAdvanced ) then
11791179
aPerformance()
1180-
elseif ( source == aTab6.AutoLogin ) then
1181-
triggerServerEvent ( "aAdmin", localPlayer, "autologin", guiCheckBoxGetSelected ( aTab6.AutoLogin ) )
1180+
-- elseif ( source == aTab6.AutoLogin ) then
1181+
-- triggerServerEvent ( "aAdmin", localPlayer, "autologin", guiCheckBoxGetSelected ( aTab6.AutoLogin ) )
11821182
--elseif ( source == aTab6.PasswordOld ) then
11831183

11841184
--elseif ( source == aTab6.PasswordNew ) then

[admin]/admin2/conf/autologin.xml

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)