13.03.2012, 12:59
use that what I gave and make a cmd for show how much time spent and save time on player disconnect 

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/onlinetime", cmdtext, true) == 0)
{
new string[256];
format(string,256,"( ! ) You have been spent %d minutes on server",ShitInfo[playerid][pTime]);
SendClientMessage(playerid,COLOR_WHITE,string);
return 1;
}
return 0;
}