I (think that I) can make it but I need it to be efficient because my script is huge.
This is a small example of the tiles it's supposed to check and the tile that the player is standing on.
This is an example of the function:
1
2
3
4
5
6
7
2
3
4
5
6
7
function NearTile(playerid, tileid)
if (neartile) then
return true
else
return false
end
end
Thanks in advance.