player/GetByID

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{Func |Name=GetByID |Parent=player |Description=Gets the player with the specified connection ID. |Realm=Shared |IsClass=No }} {{Arg |type=number |name=connectionID ...")
 
Line 12: Line 12:
 
}}
 
}}
 
{{Ret
 
{{Ret
|type=Player or nil
+
|type=Player
|desc= ply
+
|desc=Player is one is found, nil otherwise
 
}}
 
}}

Revision as of 12:49, 21 October 2013

 player.GetByID( )

Description

Gets the player with the specified connection ID.

Arguments

number connectionID

The connection ID to find the player by.

Returns

Player

Player is one is found, nil otherwise
Personal tools
Navigation