Server crash
#10

PHP код:
    new string1[80];
    
format(string1,80,"Logs/Command.txt");
    new
        
File:lFile fopen(string1io_append),
        
logData[200],
        
fyearfmonthfday,
        
fhourfminutefsecond;
    
getdate(fyearfmonthfday);
    
gettime(fhourfminutefsecond);
    
format(logData200,"[%02d/%02d/%04d %02d:%02d:%02d] %s: %s \r\n"fdayfmonthfyearfhourfminutefsecondGetName(playerid), cmdtext);
    
fwrite(lFilelogData);
    
fclose(lFile);
    return 
1
just put that into your public onPlayerCommandText, ok?
Reply


Messages In This Thread
Server crash - by AlmirDelic - 27.11.2015, 16:03
Re: Server crash - by BiosMarcel - 27.11.2015, 16:21
Re: Server crash - by AlmirDelic - 27.11.2015, 16:23
Re: Server crash - by BiosMarcel - 27.11.2015, 16:28
Re: Server crash - by AlmirDelic - 27.11.2015, 16:31
Re: Server crash - by AlmirDelic - 28.11.2015, 17:30
Re: Server crash - by BiosMarcel - 28.11.2015, 17:46
Re: Server crash - by AlmirDelic - 28.11.2015, 18:05
Re: Server crash - by BiosMarcel - 28.11.2015, 18:10
Re: Server crash - by BiosMarcel - 28.11.2015, 18:22

Forum Jump:


Users browsing this thread: 3 Guest(s)