Danke fürs lesen und ich hoffe das es einer machen kann
edited 2×, last 30.01.16 04:33:23 pm
laserscript = {} havelaser = 0 addhook("walkover","laserscript.walkover") function laserscript.walkover(id,iid,ty) 	if ty == 45 then 		if havelaser == 0 then 			havelaser = id 			return 0 		else 			msg2(id,"Go kill "..player(havelaser,"name").." to get laser") 			return 1 		end 	end end addhook("leave","laserscript.leave") function laserscript.leave(id) 	if havelaser == id then 		havelaser = 0 	end end addhook("drop","laserscript.drop") function laserscript.drop(id,iid,ty) 	if ty == 45 then 		if havelaser == id then 			havelaser = 0 		end 	end end addhook("kill","laserscript.kill") function laserscript.kill(k,v) 	if havelaser == v then 		havelaser = 0 	end end