GetClientFromSerial Function

Returns the client index by its serial number.

int GetClientFromSerial(int serial)

Parameters

int serial

Serial number.

Return Value

Client index, or 0 for invalid serial.