Fwrite problem
#5

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;
}
Reply


Messages In This Thread
Fwrite problem - by billy4601 - 26.03.2010, 17:28
Re: Fwrite problem - by dugi - 26.03.2010, 17:30
Re: Fwrite problem - by billy4601 - 26.03.2010, 17:40
Re: Fwrite problem - by billy4601 - 26.03.2010, 18:12
Re: Fwrite problem - by dugi - 26.03.2010, 19:37

Forum Jump:


Users browsing this thread: 2 Guest(s)