ScriptEvent:getClient

From Mod Wiki

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.