Forum

> > CS2D > Scripts > i want to make a join check
Forums overviewCS2D overview Scripts overviewLog in to reply

English i want to make a join check

5 replies
To the start Previous 1 Next To the start

old Re: i want to make a join check

Rainoth
Moderator Off Offline

Quote
cs2d lua hook 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.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview