I am from the phone, excuse me if there any mistakes.
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
addhook ("movetile","_movetile") function _movetile (id, x, y) for i=1, #Houses do if Houses[i].dx then xx, yy = Houses[i].dx, Houses[i].dy if x==xx and y==yy then if Player[id].Houses ~=i then msg("Test. You are on "..Houses[i].Name) Player[id]InHouse=i msg("Test. You on "..Player[id].InHouse) end end break end end end
Btw if there any solutions about identical problem you may give mejust a link. Bcs I can't load search function with this sucks stolen WiFi. Thank you!
edited 1×, last 26.08.16 08:35:10 pm