• How to stop admins doing everything
    4 replies, posted
On my server admins can edit what they want in settings like prop limits and so one and it is very annoying. I would like to make it so only super admins can edit these things. I would have tried it my self but every time i have tried things in the past i just mess it up. whether thers just an individual thing i haev to do or for each seperate one i haev to do something. The things i want to make super admin only are changing limits, restricting things, giving people no clip and possibly some others. Would this fix the no clip problem: [B]change this to Admin?[/B] -------------------------[B]\/[/B] if (PLAYER:IsTempAdmin()) then local TO_RECIEVE = ASS_FindPlayer(ARGS[1]) local ALLOW = tonumber(ARGS[2]) if (ALLOW != 0 && ALLOW != 1 && ALLOW != -1) then return end if (!TO_RECIEVE) then ASS_MessagePlayer(PLAYER, "Player not found!\n") return end if (TO_RECIEVE:IsBetterOrSame(PLAYER)) then // disallow! ASS_MessagePlayer(PLAYER, "Access denied! \"" .. TO_RECIEVE:Nick() .. "\" has same or better access then you.") return end
Try it and see?
That didnt work will someone please help
Try asking in the Lua coding section. That's where all the gurus go.
To_recieve = ass, :d
Sorry, you need to Log In to post a reply to this thread.