ScriptEvent:getClient

From Mod Wiki
Revision as of 16:31, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.