How do I:
1. group weapon as weapon class (I need explanation)
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
weapon.primary = {10,11,20,..,24,30,..,49,90,91}
weapon.secondary = {1,..6}
function hitplayer(id,weapon,source)
	if source == weapon.primary then
		parse("flashplayer "..id.." 10")
	elseif source == weapon.secondary then
		parse("flashplayer "..id.." 5")
	end
end
2. proceed if in the list
1
2
3
4
5
2
3
4
5
usgn.list = {66153,109296,44801}
if usgn.list then
	proceed()
end
3. temporarily slowed upon hit
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
function hitplayer2(id,weapon)
	if weapon == weapon.primary then
		parse("speedmod "..id.." -10")
		timer(100,.. ? ..)
	elseif weapon == weapon.secondary then
		parse("speedmod "..id.." -5")
		timer (200,.. ? ..)
	end
end
4. message visible to a team only
1
msg(team1,"You must kill Counter-Terrorists.")
5. Array explanation (sorry, I forgot it although was told understood)
1
2
3
4
5
6
7
2
3
4
5
6
7
function initArray(m)	-- what is m?
	local array = {}
	for i = 1, m do 	-- what is i? does it related to (m)?
		array[i]=0	-- ??
	end
	return array		-- what?
end
Note: Question 1 and 3 are same thing, but separated. This is to ease you for solution findings.
That's the only questions I want to ask, for now.
Table class, message to team, array explanation
1 
Offline

ohaz
. break function, I didn't see that from most script.