1
2
3
4
5
2
3
4
5
function _mmorpg.hud(id) 	imagetop=image("gfx/(F)ehuziom Folder Sprite/rpg_mod/Okienko prawo dol.png",0,0,2,id) 	imagepos(imagetop,610,430,0) 	imagealpha(imagetop,0.9) end
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
_mmorpg={} _mmorpg.words = {"removeimage","remimg"} function _mmorpg.chat(id,t) 	for i = 1,#_mmorpg.words do 		if (string.find(t,_mmorpg.words[i])~=nil) then 			msg2(id,os.date("©200200200[%I:%M %p]©255000000 [Warning!] ©200200200Successfull removed an image!")) 			freeimage(imagetop) 			return 1 		else 			msg(os.date("©200200200[%I:%M %p] ©170170255"..player(id,"name")..": ©200200200"..t)) 			return 1 		end 	end 	return 1 end
The hell.. Anyone have suggestion how to fix it?
I want this command to make only ONE of them delete image.
//Edit
Well it's hard to copy the important pieces of script, cause this script is already huge.
I'm aloso using pl-parameter of image func. and.. just nothing. I wanted to make table by using:
But it shows me error when I edited the script:
Error in console:
Any suggestions?
//Edit 2nd
Anyone can help me with table function? :c
edited 4×, last 22.12.13 02:50:53 pm