TF2_GetPlayerClass Function

Gets a client's current class.

TFClassType TF2_GetPlayerClass(int client)

Parameters

int client

Player's index.

Return Value

Current TFClassType of player.

Errors

Invalid client index.