batlaizys has written
Hello could some1 tell me how to make such thing ?
If player goes to tilex :56 and tiley :56 he gets 150 health and image on him and 30 speed.
Thank you for your help (if there is any)
If player goes to tilex :56 and tiley :56 he gets 150 health and image on him and 30 speed.
Thank you for your help (if there is any)
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
addhook("movetile","lol") function lol(id,x,y) 	if x==56 and y==56 then 		parse("setmaxhealth "..id.." 150") 		freeimage(id) 		image("gfx/...",1,1,id+200) 		parse("speedmod "..id.." 30") 	end end
@Time4Parteh
1
2
3
4
5
6
2
3
4
5
6
add it hudi = image("gfx/...",X,Y,1) X and Y is the X and Y on the screen, where it should be on the screen. remove it freeimage(hudi)