So, I am building a little RP framework for a little project and for fun. I needed to look for a list of players to see if the player’s name is there before replacing things in the MySQL database.
So I used this line :
local players = MySQL.Sync.fetchAll('SELECT ign FROM storage')
To store them all in an array. Now I need to see if the player’s name is included in there. How would I be able to achieve this?