This is by part the most pointless script I’ve ever seen. You are getting the SteamID from the database with the SteamID. Here let me improve the server.lua for you.
I was originally going to use the method through the database, but now I will do the 2 versions, [Standalone] with the method provided by @Smallo and [ESX] with sql database, the identity can also be extracted (firstname, lastname, group, etc)
If it wasn’t ESX and it was just a stand-alone script it would be useful to store the steamids in a database if your trying to make a framework or something idk but I sorta agree