Hello, for a few last days now, I've been having hard times with lua. I'm using OpenSecurity addon, but this problem I'm having more with lua. When I use Entity Detector it returns me table with info about entities around it. I can print those with function
for k, v in pairs(output[1]) do
print(k, v)
end
but I don't know how to make from this table unique variable strings, so I could have checked if the entity is me or not. I know that it will probably be some easy function, but I can't find it anywhere on the internet. I'm almost beginner in Lua, so please don't kill me
Thanks