Forum

> > CS2D > Scripts > Just a little lua request.
Forums overviewCS2D overview Scripts overviewLog in to reply

English Just a little lua request.

1 reply
To the start Previous 1 Next To the start

old Just a little lua request.

zazz
User Off Offline

Quote
If someone can, then:

• Terrorists can't get weapons (except for melee weapons, chainsaw, and grenades)

• And Ct's can't get Super Armor.

Thank you.

old Re: Just a little lua request.

iii
User Off Offline

Quote
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
addhook("buy","_buy")
function _buy(id,wep)
	if player(id,"team")==1 then 
		if wep>=50 and wep<90 then 
		else return 1
		end
	else 
		if wep==83 then 
		return 1 
		end
	end
end

addhook("walkover","_walkover")
function _collect(id,iid,itype,ain,a,mode)
if player(id,"team")==1 then 
		if iid>=50 and iid<90 then 
		else return 1
		end
	else 
		if iid==83 then 
		return 1 
		end
	end
end

addhook("spawn","_spawn")
function _spawn(id)
if player(id,"team")==1 then 
return "x"
end
end
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview