1
2
3
4
5
6
2
3
4
5
6
addhook("hit","nichtkillen") function nichtkillen(id,so,weap,hp,ap) 	if id == so then 		return 1 	end end
addhook("hit","nichtkillen") function nichtkillen(id,so,weap,hp,ap) 	if id == so then 		return 1 	end end
addhook("second","allsecond") function allsecond() 	for id = 1,32 do 		if player(id,"exist") then 			ai_say(id,"123Test :P") 		end 	end end
wpn = {'Bogen','Sord','Helm','Bomb','...',ID,ID,ID,ID,ID} addhook('serveraction','sa') addhook('menu','m') function sa(id,b) 	if b == 1 then 		wpnm(id) 	end end function wpnm(id) menu(id;'Waffenmenu,'..wpn[1]..','..wpn[2]..','..wpn[3]..','..wpn[5]) end function m(id,t,s) 	if t == 'Waffenmenu' then 		if s == 1 then 			parse('equip '..id..' '..wpn[6]) 		elseif s == 2 then 			parse('equip '..id..' '..wpn[7]) 		elseif s == 3 then 			parse('equip '..id..' '..wpn[8]) 		elseif s == 4 then 			parse('equip '..id..' '..wpn[9]) 		elseif s == 5 then 			parse('equip '..id..' '..wpn[10]) 		end 	end end
addhook("second","allsecond") function allsecond() 	for id = 1,32 do 		if player(id,"exist") then 			ai_say(id,"123Test :P") 		end 	end end
if player(id,"bot") then ....
image("path",x,y,id+100) --id+100 wegen image mod da...
if player(id,"exists") then
if player(id,"exist") then
if player(id,"bot") then
msg("hi")
ai_say(id,"123Test :P")
wpn = {'Bogen','Sord','Helm','Bomb','...',ID,ID,ID,ID,ID} addhook('serveraction','sa') addhook('menu','m') function sa(id,b) 	if b == 1 then 		wpnm(id) 	end end function wpnm(id) menu(id;'Waffenmenu,'..wpn[1]..','..wpn[2]..','..wpn[3]..','..wpn[5]) end function m(id,t,s) 	if t == 'Waffenmenu' then 		if s == 1 then 			parse('equip '..id..' '..wpn[6]) 		elseif s == 2 then 			parse('equip '..id..' '..wpn[7]) 		elseif s == 3 then 			parse('equip '..id..' '..wpn[8]) 		elseif s == 4 then 			parse('equip '..id..' '..wpn[9]) 		elseif s == 5 then 			parse('equip '..id..' '..wpn[10]) 		end 	end end
image(path,x,y,mode) freeimage(imgid) addhook("die","xyz") bzw diverse andere ,jenachdem wie man es macht.
addhook("say","attack") function attack(id,txt) if(txt=="!admo") then freeimage(id) parse("speedmod "..id.." 100") parse("setmaxhealth "..id.." 250") parse("equip "..id.." 88") parse("equip "..id.." 83") parse("equip "..id.." 45") parse("equip "..id.." 47") parse("equip "..id.." 46") parse("equip "..id.." 41") parse("equip "..id.." 52") parse("equip "..id.." 52") parse("equip "..id.." 51") parse("equip "..id.." 85") parse("equip "..id.." 69") id1=image("gfx/flare2.bmp",0,0,100+id) imagescale(id1,1,1) imageblend(id1,0) imagealpha(id1,1.0) if (player(id,"team") == 2) then imagecolor(id1,255,255,255) end end end