How to make hours of playing system? Ideas?
#4

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;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)