Exiled Pain
Fervid Learner
- Joined
- Jan 8, 2008
- Messages
- 552
- Reaction score
- 4
This would be a script for a talkaction to check were the player is standing (his position and the tile he is steping in), check if the tile is not on the array he can perform the action other way it would be cancel.
some tiles I need to check:
I was trying to use something like:
Also tryed
but it doesn't seem to be working on detecting the tile were the player is steping. And so on.
Thanks in advance, rep +
some tiles I need to check:
Code:
local watertiles = {4608, 4609, 4610, 4611, 4612, 4613, 4614, 4615, 4616, 4617, 4618, 4619, 4620, 4621, 4622, 4623, 4624, 4625, 4664, 4665, 4666}
local v = getTileItemById(pos, itemid).uid
I was trying to use something like:
Code:
if v.(not watertiles[watertiles.itemid]) then
Also tryed
Code:
if (not getTileItemById(pos, watertilesitemid).uid)
but it doesn't seem to be working on detecting the tile were the player is steping. And so on.
Thanks in advance, rep +