13.01.2013, 12:59
I don't know if this is a Bug or only my fault
Since 0.3a was released I didn't noticed it.
I want to write a special way to communicate between the GM and the NPC Scripts.
So I tried making it possible with files on a simple way - writing in the files - for debuging.
But it didn't work.
I tried it serveral times, I didn't get it working.
This is my code. I put it in all Callbacks which could be possible called.
Since 0.3a was released I didn't noticed it.
I want to write a special way to communicate between the GM and the NPC Scripts.
So I tried making it possible with files on a simple way - writing in the files - for debuging.
But it didn't work.
I tried it serveral times, I didn't get it working.
This is my code. I put it in all Callbacks which could be possible called.
pawn Код:
new File:f = fopen("C:\\Users\\septa_000\\Desktop\\03x\\scriptfiles\\blubb.txt",io_write);
fwrite(f,"blubb");
fclose(f);
f = fopen("blubb2.txt",io_write);
fwrite(f,"blaa");
fclose(f);