Signature
native cs_set_user_lastactivity(index, Float:value);
Description
Sets the client's last activity time.
Notes
-
This is the time that the internal Counter-Strike afk kicker uses to
see who has been inactive too long.
Parameters
- index — Client index
- value — New last activity time
No return value
Errors
-
If the client index is not within the range of 1 to
MaxClients, or the client is not connected, an error will be