GetClientModel Function

Returns the client's model name.

void GetClientModel(int client, char[] model, int maxlen)

Parameters

int client

Player's index.

char[] model

Buffer to store the client's model name.

int maxlen

Maximum length of string buffer (includes NULL terminator).

Errors

Invalid client index, client not in game, or no mod support.