31.01.2014, 14:42
pawn Код:
// global:
new ConnectTime[MAX_PLAYERS];
// OnPlayerConnect:
ConnectTime[playerid] = gettime();
// command /onlinetime:
...
format(string, sizeof(string), "[NOTE] - You've been online for %d minutes!", gettime() - ConnectTime[playerid]);
...