Forum
CS2D Scripts Jail ScriptJail Script
2 replies 1
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
jail = {weapon = 3, x = 10, y = 12} addhook('hit', 'AA_hit') function AA_hit(id, source, weapon) 	if weapon == jail.weapon then 		parse('setpos '..id..' '..(jail.x * 32 + 16)..' '..(jail.y * 32 + 16)) 	end end
Fill your wanted weapon, tilex and tiley in jail[], or maybe put more information on what you want...?
1