Forum

> > CS2D > Scripts > Set the winner
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Set the winner

3 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Set the winner

limonata
User Off Offline

Zitieren
How i can set the win of the team?

For example;

if txt == "!twin" then
-- terorist win!
elseif txt == "!ctwin" then
--counter-terrorist win
end

Thanks

alt Re: Set the winner

hunter139
User Off Offline

Zitieren
you can simply put "trigger_use" on the map and set the triggered entity to "Func_GameAction" and set the action to t win or ct win

Script ?
i dont know

alt Re: Set the winner

miere
User Off Offline

Zitieren
1
2
3
4
5
if txt == "!twin" then
	parse("endround 1")
elseif txt == "!ctwin" then
	parse("endround 2")
end
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht