Forum

> > CS2D > Scripts > 1 User in team, no more
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch 1 User in team, no more

4 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt 1 User in team, no more

superpegamento
User Off Offline

Zitieren
a question

with code that I can do that only one person can enter the police forces

example:

1 counter-terrorist in the team counter-terrorist is accepted, no more

exist an code?

alt Can it be?

Infiltrado
User Off Offline

Zitieren
1
2
3
4
5
6
7
8
9
addhook("team", "teamchange")
function teamchange(id, team, look)
     if team == 2 then
          if #player(0, "team2") >= 1 then
               msg2(id, "Too many Counter-Terrorists!@C")
               return 1
          end
     end
end
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht