CS2D
Scripts
i want to make a join check
i want to make a join check
5 replies if have a player(special ID lists) join in my server,then they join spec only
pls
You mean that they can't join CT and TT? Say "no go spec or kick" if you see them. @
Yates: oh...
good idea!
team
for loop (specialIDlist)
if player usgn is same as specialID
return 1
Naturally, this is a pseudo code but it's the gist of how you'd do it. The reason it's on team hook and not join hook is because people are always spectators when they join the server so it achieves no effect if you try to move them to the same team that they're on.