Forum

> > CS2D > Scripts > Set the winner
Forums overviewCS2D overview Scripts overviewLog in to reply

English Set the winner

3 replies
To the start Previous 1 Next To the start

old Set the winner

limonata
User Off Offline

Quote
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

old Re: Set the winner

hunter139
User Off Offline

Quote
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

old Re: Set the winner

miere
User Off Offline

Quote
1
2
3
4
5
if txt == "!twin" then
	parse("endround 1")
elseif txt == "!ctwin" then
	parse("endround 2")
end
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview