26.03.2010, 19:37
You need to add this function to your script first:
pawn Код:
stock fwrite_utf8(File:handle, str[], bool:use_utf8)
{
new x=0;
if(!handle) return 0;
while(str[x] != EOS) {
fputchar(handle, str[x], use_utf8);
x++;
}
return x;
}