I wanna ask, how to check in the script tiles where i'm pressed button.
Example table of them?
idk..
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
tableplantpossible = { --is {x,y} for one [1]={x,y}, [2]={x,y}, [3]={x,y} } addhook("menu","fcking_menu") function fcking_menu(id,title,b) 	if title=="Shit Plants Menu" then 		if b==1 then 			if tilex and tiley == tableplantpossible then 				if haveplants[id] >= 1 then blabalabla 				end 			end 		end 	end end
And how can i remove self other images without bug like a:
1
2
3
4
5
2
3
4
5
imagethatspawnedonmap = ("gfx\dffahu"+100500,+100500,on map spawned where do i planted plant) timer(5000,"ssz") 	function ssz() freeimage(imagethatspawnedonmap) 	end
If you don't understand i can make video or images
Thank you alot.
1× editiert, zuletzt 05.02.15 17:35:28