Time help
#5

Here is what I am trying to do...

Код:
if(!strcmp(option, "updates", true))
    {
        new File: file = fopen("updates.cfg", io_append);
        format(string, sizeof(string), "%s - [%d/%d/%d - (%d:%d > This is the time.)]\r\n", params, PlayerInfo[playerid][pIMonth], PlayerInfo[playerid][pIDay], PlayerInfo[playerid][pIYear], PlayerInfo[playerid][pIHour], PlayerInfo[playerid][pIMinute]);
        fwrite(file, string);
        fclose(file);
        format(string, sizeof(string), "AdmWarn: %s has posted updates, use /updates to view it.", RPN(playerid));
        SendClientMessageToAll(COLOR_LIGHTRED, string);
        return 1;
    }
Reply


Messages In This Thread
Time help - by MichaelWharton101 - 18.05.2013, 01:04
Re: Time help - by jakejohnsonusa - 18.05.2013, 05:48
Re: Time help - by MichaelWharton101 - 18.05.2013, 13:06
Re: Time help - by jakejohnsonusa - 18.05.2013, 15:07
Re: Time help - by MichaelWharton101 - 18.05.2013, 20:50
Re: Time help - by MichaelWharton101 - 19.05.2013, 23:39

Forum Jump:


Users browsing this thread: 1 Guest(s)