Difference between revisions of "ScriptEvent:getClient"

From Mod Wiki
 
(No difference)

Latest revision as of 16:31, 5 November 2007

Parameters

integer index -- Index of the client to look up.

Result

entity

Supported By

sdSysCallThread

Comments

  • If the index is out of the range 0 to ( MAX CLIENTS - 1 ), the result will be null.
  • MAX CLIENTS can be found using getMaxClients.

Functionality

Returns the player at the specfied client slot, if there is one, otherwise null.