English Set the winner

3 replies
Goto Page
To the start Previous 1 Next To the start
28.07.13 04:07:04 pm
Up
limonata
User
Offline Off
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
28.07.13 04:17:57 pm
Up
hunter139
User
Offline Off
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
IMG:http://i33.servimg.com/u/f33/18/41/08/82/untitl14.jpg
28.07.13 04:19:35 pm
Up
miere
User
Offline Off
Code:
1
2
3
4
5
if txt == "!twin" then
     parse("endround 1")
elseif txt == "!ctwin" then
     parse("endround 2")
end
28.07.13 04:20:25 pm
Up
limonata
User
Offline Off
Thanks miere ! problem solved.
To the start Previous 1 Next To the start