I was searching for a JailGun Mod, but I didn't find one.
So now I'm asking you to help me.
The JailMod should work like this:





Thanks!

jailgun = 5 --weapon type of the jail gun jail = {5,5} --position to teleport ot jaildur = 30 --duration of jail time in seconds addhook("hit","jailplayer") function jailplayer(id,src) 	if true then --check if src is an admin here! 		if player(src,"weapontype")==jailgun then 			local oldx,oldy=player(id,"x"),player(id,"y") 			parse("setpos "..id.." "..jail[1]*32+16 .." "..jail[2]*32+16) 			timer(jaildur*1000,"parse","setpos "..id.." "..oldx.." "..oldy) 		end 	end end