Forum

> > CS2D > Scripts > How to make terrorist maximum size ?
Forums overviewCS2D overview Scripts overviewLog in to reply

English How to make terrorist maximum size ?

14 replies
To the start Previous 1 Next To the start

old Re: How to make terrorist maximum size ?

Happy eyes
User Off Offline

Quote
1
2
3
4
5
6
7
8
9
max-terrorists=5

addhook('team','mt_team')
function mt_team(id,team,look)
	if team==1 and #player(0,"team1") >= max-terrorists then
		msg2(id,"©255000000You can't join terrorist team, becouse team is full")
		return 1
	end
end

Maybe this is what you need?

old Re: How to make terrorist maximum size ?

Soja1997
User Off Offline

Quote
sorry wrong formulated his speech I wanted to write. How to set the maximum number of terrorists in the team tested a lot of scripts but none of them worked. I want to be able to be the only one terrorist in the team, if you're trying some Anti Terrorist Terrorists go to the team will be automatically transferred to the Anti-Terrorist Team

old Re: How to make terrorist maximum size ?

Soja1997
User Off Offline

Quote
user DC has written
Why the hell do you open a thread with the same topic twice?
thread cs2d maximum size of the team

Rules §2.1 - No needless and/or doubled posts (spam)

The script posted there DOES work. You are doing something wrong if it doesn't work for you (maybe a bug in another script or installed the wrong way or multiple team hooks).

Really sorry i forgot about this rule.
As for that script to me it does not work without a problem I walk with a team of terrorists from anti-terrorists
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview