Preventing admin impersonation
#14
(09-18-2012, 06:48 PM)Theblackshadowofgod Wrote: This should work (Soul or Temar)
Code:
admins = {
        "STEAM_0:1:15472195", -- SoulRipper
        "STEAM:0:1:00000000", -- Admin1
                "STEAM:0:1:00000000" -- Admin2
    }
    table.Add(admins)
    
    -- Check if the player's name contains the [FL] admin tag and isn't listed above.
    for k, v in pairs(player.GetAll()) do
        if (not(table.HasValue(admins, v:SteamID()))) then
            if string.find(v:Nick(), "[FL]") then
                v:Kick("Only admins of Fearless are allowed to wear this tag");
                return false;
            end
        end
    end

That's pretty good ! It will avoid admin to loose time on this kind of cases of tag theft !
[Image: JmCzDqB.png]


Messages In This Thread
Preventing admin impersonation - by Dr Tomorrow - 09-18-2012, 04:51 PM
RE: Preventing admin impersonation - by Haarek - 09-18-2012, 05:10 PM
RE: Preventing admin impersonation - by Adman - 09-18-2012, 05:17 PM
RE: Preventing admin impersonation - by Adman - 09-18-2012, 05:59 PM
RE: Preventing admin impersonation - by Generation - 09-18-2012, 07:00 PM
RE: Preventing admin impersonation - by Narc - 09-18-2012, 06:56 PM
RE: Preventing admin impersonation - by Narc - 09-18-2012, 07:02 PM
RE: Preventing admin impersonation - by Adman - 09-18-2012, 07:23 PM
RE: Preventing admin impersonation - by Adman - 09-18-2012, 08:17 PM
RE: Preventing admin impersonation - by Adman - 09-19-2012, 05:24 AM
RE: Preventing admin impersonation - by Adman - 09-19-2012, 03:17 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)