I stored a player into an empty table using table.insert(tablename, player).
Then I wanted to check if he's already in the table just to avoid duplications.
tostring(player) shows up exactly as the first value in my table (checked it with printing them both onto the console window) but they are not equal for some reason.
Tryed it with putting only the players name into the table and check if that exists or not. That worked, but I don't want to work with only player names, I need the userdata to go on (teleport them for example).
Any idea how to solve this problem?
thank you,
bendaferi