Forum

> > CS2D > Scripts > If Team wins then
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch If Team wins then

2 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt If Team wins then

Cons
User Off Offline

Zitieren
Guys, i know this may be really easy, But i dont know , and i am here to learn...

So please, when team 1 wins the round then: My Action Will Work

And If Team 2 Wins the round then my other Action Will Work

please

alt Re: If Team wins then

EngiN33R
Moderator Off Offline

Zitieren
1
2
3
4
5
6
7
8
addhook("endround","teamwin")
function teamwin(mode)
	if mode==1 then
		--Terrorists won, do stuff
	elseif mode==2 then
		--CT won, do stuff
	end
end

alt Re: If Team wins then

Cons
User Off Offline

Zitieren
user EngiN33R hat geschrieben
1
2
3
4
5
6
7
8
addhook("endround","teamwin")
function teamwin(mode)
	if mode==1 then
		--Terrorists won, do stuff
	elseif mode==2 then
		--CT won, do stuff
	end
end


Thanks Again
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht