15.05.2009, 23:25
Hi scripters,
I need to create a function that executes the same function of the printf,
but that besides writing in console and server_log.txt also writes in a file in the scriptfiles...
I want register all in this file in the scriptfiles![Smiley](images/smilies/smile.png)
format strings and substitute printf for print for each printf that I have in my gamemode will be very hard![confused](images/smilies/confused.gif)
with this function I would simply substitute the functions printf for this new function using a CTRL+H![Wink](images/smilies/wink.png)
Thanks for replys! :P
I need to create a function that executes the same function of the printf,
but that besides writing in console and server_log.txt also writes in a file in the scriptfiles...
I want register all in this file in the scriptfiles
![Smiley](images/smilies/smile.png)
format strings and substitute printf for print for each printf that I have in my gamemode will be very hard
![confused](images/smilies/confused.gif)
with this function I would simply substitute the functions printf for this new function using a CTRL+H
![Wink](images/smilies/wink.png)
Thanks for replys! :P