That code looks too complicated to me(not cuz its messy, cuz i suck at knowing amx scripting functions), but i think saving by name will be a bit problematic, since ppl change their names. SteamID would be the best, the only place it wouldnt be good for is NonSteam servers.