player.GetByAccountID
Description
Tried to get the player with the specified Player:AccountID.
Internally this function iterates over all players in the server, meaning it can be quite expensive in a performance-critical context.
This function now uses player.Iterator. This means it can't run all the time, as an error in the GM:OnEntityCreated or GM:EntityRemoved hooks is likely to interrupt it. Make sure that no addon causes an error in these hooks.