cs_get_user_lastactivity

Syntax

native Float:cs_get_user_lastactivity(index);

Usage

index
Client index

Description

Returns the client's last activity time.

Note

This is the time that the internal Counter-Strike afk kicker uses to
see who has been inactive too long.

Return

Last activity time

Error

If the client index is not within the range of 1 to
MaxClients, or the client is not connected, an error will be