Forum

> > CS2D > Scripts > Kill Team
Forums overviewCS2D overview Scripts overviewLog in to reply

English Kill Team

1 reply
To the start Previous 1 Next To the start

old Kill Team

sheeL
User Off Offline

Quote
. . . . . .
edited 1×, last 06.07.14 06:17:58 am

old Re: Kill Team

SilentDash
User Off Offline

Quote
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function initArray(m)
	local array = {}
		for i = 1, m do
	array[i] = 0
	end
return array
end

alive=initArray(32)
kill=initArray(32)

addhook("kill","lol")
function lol(killer,victim)
	if player(killer,"team")==1 and player(victim,"team")==1 or player(killer,"team")==2 and player(victim,"team")==2 then
parse("killplayer "..player(id)"")
	end
end

maybe this? (untestet!)
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview