Problem!!
#8

im not confirmed but just try it.
Код:
stock UpisiLog(fajl[],LOG_REGISTER[], string[])
{
    new unos[256];
    new sat, minut, sekund, dan, mesec, godina;
    gettime(sat, minut, sekund);
    getdate(godina, mesec, dan);
    format(unos, 256, "[%d/%d/%d - %d:%d:%d] %s\r\n", dan, mesec, godina, sat, minut, sekund, string);
    new File:hFile;
    hFile = fopen(fajl, io_append);
    fwrite(hFile, unos);
    fclose(hFile);
    return 1;
}
Reply


Messages In This Thread
Problem!! - by Micko123 - 19.07.2016, 09:26
Re: Problem!! - by Sjn - 19.07.2016, 09:30
Re: Problem!! - by Micko123 - 19.07.2016, 09:32
Re: Problem!! - by Stinged - 19.07.2016, 09:32
Re: Problem!! - by Micko123 - 19.07.2016, 09:37
Re: Problem!! - by UltraScripter - 19.07.2016, 09:52
Re: Problem!! - by Micko123 - 19.07.2016, 09:55
Re: Problem!! - by FuNkYTheGreat - 19.07.2016, 09:55
Re: Problem!! - by Micko123 - 19.07.2016, 09:58
Re: Problem!! - by Stinged - 19.07.2016, 10:01

Forum Jump:


Users browsing this thread: 1 Guest(s)