Kostyan1996 has written
Say me plz, what im doing wrong?
Thank
1
2
3
4
5
6
2
3
4
5
6
addhook("movetile","aimove") function aimove(id) if player(id,"x==2") and player(id,"y==4") or player(id,"x==2") and player(id,"y==5") then ai_goto("id,2,7") end end
1
2
3
4
5
6
2
3
4
5
6
addhook("movetile","aimove") function aimove(id,x,y) if(x==2) and (y==4) or (x==2) and (y==5) then ai_goto("id,2,7") end end
i dont test this