Garry's Mod Wiki

player.GetByAccountID

player.GetByAccountID

  Player player.GetByAccountID( number accountID )

Description

Gets the player with the specified AccountID.

Internally this function iterates over all players in the server, meaning it can be quite expensive in a performance-critical context.

Arguments

1 number accountID
The Player:AccountID to find the player by.

Returns

1 Player
Player if one is found, false otherwise.

Special Pages


Wikis

?

Render Time: 76ms

DB GetPage 50
Generate Html 4
SaveChanges (1) 8
Render Body 0
Render Sidebar 11