Forum

> > CS2D > Scripts > Team number?
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Team number?

5 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Team number?

iCe4147
User Off Offline

Zitieren
Whats the team number for spectator? Or is there even one?

alt Re: Team number?

KimKat
GAME BANNED Off Offline

Zitieren
I thought that the spectator team was either number 3 or 6 and that 0 was users who joined the server but assumably number 0 is the spectators.

I think like this...
0 = Users who join server (but gets transferred automaticly into Spectators, which is number 3)
1 = Terrorists
2 = Counter-terrorists
3 = Spectators

Anyways, thanks for saying.

alt Re: Team number?

DC
Admin Off Offline

Zitieren
0 is for spectators. players who are joining have team 0 as well.

3 is for CT VIP (theres max 1 player with team 3)

check if a player is terrorist: if team==1
check if a player is counter-terrorist: if team>=2

alt Re: Team number?

KimKat
GAME BANNED Off Offline

Zitieren
Oh, thanks for clarifying that. I'm guessing that there's no more team numbers that this.
I was just speculating that the team numbers were identical to Counter-Strike's teams (by the team and class selection). Anyways, thanks DC.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht