Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[### Ban-On-Sight by H® Shaft for Phasor v2]]--
- function GetRequiredVersion()
- return 200
- end
- function OnScriptLoad(process, game, persistent)
- end
- function OnPlayerJoin(player)
- -- BOS --
- local bos_hash = gethash(player)
- local bosname = getname(player)
- local bos_hash_table_size = #bos_hash_table
- for x = 1,bos_hash_table_size do
- if string.find((bos_hash), bos_hash_table[x]) ~= nil then
- say(tostring(bosname) .. " has been banned-on-sight.")
- svcmd("sv_ban " .. resolveplayer(player))
- end
- end
- end
- --======= Start Ban On Sight Table ==========
- -- for ban player on join - ban on sight, the last entry in this table should end with quote, but each hash should be separated
- -- by commas {"hash1", "hash2", "lasthash"} if quotes or commas are mis-used, it will cause error.
- bos_hash_table = {"5ae30f357689cca5c28d41c850ce0df8", "f443106bd82fd6f3c22ba2df7c5e4094", "87d4ea247397449f9e1a45c36c9ca990", "72a5c55fe98075aed8b185e79c93d989",
- "3d5cd27b3fa487b040043273fa00f51b", "b661a51d4ccf44f5da2869b0055563cb", "69dcba9c16c7f9101657be3dfbc4a01c", "10440b462f6cbc3160c6280c2734f184", "a116aa58fa21c288765d5c5e3b33175c",
- "9414ca0630647bcdb308bcf94cd60f9b", "ff02f33c8a6a6787459fe807293eafab"
- }
- --======= End Ban On Sight Table ==========
- -- Script originated from Wizard (his stand alone version didn't work) and AelitePrime - extracted and adapted as a stand alone feature by H® Shaft
- -- Created by H® Shaft thank you to Oxide, AelitePrime, Nugget & Wizard.
- -- Visit http://halorace.org/forum/index.php?topic=514.0 or
- -- Visit http://pastebin.com/u/HR_Shaft for more phasor scripts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement