native

get_user_time

Syntax

native get_user_time(index, flag = 0);

Description

Returns client's playing time in seconds.

Parameters

index Client index
flag If nonzero, the result will not include the time it took
the client to connect.

Return

Connection time in seconds, 0 if client index is invalid or
client is not connected