PLS HEELP

os.draw = image function playa.slaya.startround(id) 	if (player(id,"team")==1) then 		pl_t = os.draw("gfx/sprites/flare4.bmp",0,0,100) 		imagecolor(pl_t,255,0,0) 		imageblend(pl_t,1) 		imagealpha(pl_t,0.4) 	else 		pl_ct = os.draw("gfx/sprites/flare4.bmp",0,0,100) 		imagecolor(pl_ct,0,0,255)z 		imageblend(pl_ct,1) 		imagealpha(pl_ct,0.4) 	end end
[spoiler]function playa.slaya.startround(id) 	if (player(id,"team")==1) then 		pl_t = image("gfx/sprites/flare4.bmp",0,0,100) 		imagecolor(pl_t,255,0,0) 		imageblend(pl_t,1) 		imagealpha(pl_t,0.4) 	elseif (player(id,"team")==2) then 		pl_ct = os.draw("gfx/sprites/flare4.bmp",0,0,100) 		imagecolor(pl_ct,0,0,255) 		imageblend(pl_ct,1) 		imagealpha(pl_ct,0.4) 	else 		-- Do nothing 	end end[/spoiler]
function sample.glowing.makeallglow() for i=1,32,1 do id1=image("gfx/sprites/flare2.bmp",0,0,100+i) imagescale(id1,1,1) imageblend(id1,1) imagealpha(id1,0.7) if (player(i,"team") == 1) then imagecolor(id1,255,0,0) else imagecolor(id1,0,0,255) end end end
addhook ("say","saytoall") 	function saytoall(id,bm) 		 	bmw = {"!b"} 		 	bm=string.lower(bm) 		 		for i = 1,#bmw do 			if (string.find(bm,bmw[i])~=nil) then 				parse("msg ©000255000"..player(id,"name").." "..bm) 				break 			end 		end 	end
[TIMERS] - timer(time,"func",["p"],[c])	Create a timer which will call the Lua 				function "func" after a certain time 				in milliseconds (time). 				Moreover it can pass a string parameter (p) 				to this function when calling it. 				The timer calls the function once by default. 				However you can call it several times by 				entering a count value (c). Using 0 or lower 				count values will make the timer call the 				function infinite times. - freetimer(["func"],["p"])	Remove a timer which calls a certain function 				with a certain parameter. 				Call this function without parameters or empty 				strings as parameters to remove all timers. [IMAGES] - image("path",x,y,mode)	Creates an image (dynamic object) on the map. 				Mode 0 for floor image, mode 1 for top image and 				mode 2 for HUD image. 				Mode 101-132: draw under this player 				Mode 201-232: draw over this player 				When drawing at player, x and y are used this way: 				x<=0: do not rotate with player, x>0: rotate img with player 				y<=0: only draw if not covered by fog of war, y>0: draw always 				Returns the ID of the dynamic object image. - imagecolor(id,red,green,blue)	Changes color of an image - imagealpha(id,alpha)		Changes opacity (0.0-1.0) of an image - imageblend(id,mode)		Changes blendmode of an image: 0 for normal, 				1 for light, 2 for shade and 3 for solid - imagescale(id,x,y)		Changes image scale factors - imagepos(id,x,y,rot)		Changes position and rotation of an image - freeimage(id)			Removes an image
LUA ERROR: dir:bad argument #1 to 'player' (number expected,got nil)
if (player(id,"exists")) then
for i = 1, 32 do
addhook("startround","lol") function lol 	----Here i need to add the script---- end