fWrite
#2

https://sampwiki.blast.hk/wiki/Fputchar

This function can be used to insert non-UFT8 characters.

Example on how to use it in a function:

pawn Код:
fwrite2(File:handle, const string[])
{
    new
        i,
        ch;

    if(!handle)
    {
        return 0;
    }
   
    while((ch = string[i++]))
    {
        fputchar(handle, ch, false);
    }
   
    return 1;
}
Reply


Messages In This Thread
fWrite - by 7days7 - 25.02.2016, 23:23
Re: fWrite - by Emmet_ - 25.02.2016, 23:31
Re: fWrite - by 7days7 - 25.02.2016, 23:46

Forum Jump:


Users browsing this thread: 1 Guest(s)