SRCDS Steam group


Need a plugin =D
#1
Rolleyes 
Okay for source mod....

I need a plugin that bans someone from joining a certain team...

Possible? =X

Also... wrong section or no?
Reply
#2
A certain team?

I can do take in Eventscripts.

Like if anyone joined the terrorists they will be banned? Like that? Or?
Reply
#3
A certain person and yes eventscripts =D
Reply
#4
Like not banned if they join that team, just not allowed? or kicked? or like idk any ideas?
Reply
#5
What team, and why would you want this? Also, what game?
Reply
#6
I think there's a script out there.. try searching here: http://addons.eventscripts.com - or http://www.sourcemod.net
Reply
#7
I just talked with him in Steam, he wants to stop a particular person from going on a team.
Reply
#8
Hmm if he has his SteamID. He could maybe create a checker if that ID is on that team and then do something if he is.
Reply
#9
K ive limited it to kill when he spawns ONLY as T is that possible?
Reply
#10
That should be possible.

I will have a look at some scripts Toungue
Reply
#11
Yay

=D
tyvm

p.s. love your icon...
Reply
#12
Hehe thank you.

I just found out I deleted some of my scripts.

But I think I can create a new one for tomorrow.. bed time soonly.
Reply
#13
So basically you want to ban someone that's on T from going on T anymore because they suck at pressing the buttons but you still want them to be able to do the map on ct?
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply
#14
LOL

You don't get it... =P

It's a LOL thing XD
Reply
#15
This is really easy:

Code:
banhim = "STEAM_0:0:123456789" # change to his steamid...
bantime = 5 # in minutes, 0 is permanent


def player_spawn(ev):
    if es.getplayerteam(ev["userid"]) == "2":
        steamid = es.getplayersteamid(ev["userid"])
        if steamid == banhim:
            es.server.qeuecmd("banid %s %s"%bantime, steamid)

Edit the first 2 lines,
save to "banhim.py" (no quotes and not "banhim.py.txt") in "addons/eventscripts/banhim"
and add "es_load banhim" (no quotes) in autoexec.cfg

You will need Eventscripts 2 beta installed...
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)