GetPlayerByUserId

Function of: Players
Returns: Player
Tags:  static

Returns the connected player whose user ID corresponds to the value, provided one exists

Parameters
Name Type Description
valNumberThe userId of the player