So i searched to find a backdoor script so i can use that on my Server if someone removed all access rights
I found this post: Set ULX Rank via Lua pasted my steam id
and i put it in autorun/server/backdoor.lua in my Server
but dosent work i tried:
if SERVER then
concommand.Add( "backupcmd", function(ply)if ( ply:SteamID() == "STEAM_0:1:72591794") then
RunConsoleCommand("ulx", "adduserid", ply:SteamID(), "superadmin")
end)
But stil dosent work just says unknown command backupcmd help? Thanks
You're missing an end
if SERVER then
concommand.Add( "backupcmd", function(ply)if ( ply:SteamID() == "STEAM_0:1:72591794") then
RunConsoleCommand("ulx", "adduserid", ply:SteamID(), "superadmin")
end)
end
Thank you for your fast response
One more question how can i add multiple ids?
Dosent work gonna try:
if ( ply:SteamID() == "STEAM_0:1:72591794") or
if ( ply:SteamID() == ""STEAM_0:1:177482498") then I never coded but maybe i have the force on my side
The question is if it's your server why do you need a backdoor if you should have RCon.
I'm gonna just toss this out there, alot new servers owners don't understand how to use RCON, not sure if he's new or whatever but just from experience.
I know about rcon but i dont want to use it. Its easy to just create a command.
Sorry, you need to Log In to post a reply to this thread.