25.08.2010, 14:44
Quote:
|
Depends what stats you need?
I guess a dialog can read all of your codes and let you read them. I'm not that experienced with dialogs though. |
Код:
//-------------------------------[Stats]--------------------------------------------------------------------------
if (strcmp(cmd, "/stats", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (gPlayerLogged[playerid] != 0)
{
ShowStats(playerid,playerid);
new y, m, d;
new h,mi,s;
getdate(y,m,d);
gettime(h,mi,s);
format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s [CMD] -> /stats",d,m,y,h,mi,s,sendername);
CommandLog(string);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " You are not Logged in!");
return 1;
}
}
return 1;
}


