15.01.2013, 20:31
pawn Код:
stock PrintToSourceLog ( text [ ] )
{
new
File: SourceLog = fopen ( "Source/Logs.src", io_write ),
String [ 128 ];
format( String, 128, "%s\r\n", text );
fwrite ( SourceLog, String );
fclose ( SourceLog );
return true;
}
pawn Код:
PrintToSourceLog ( "hello" );
PrintToSourceLog ( "Hi" );