Lagg?
#4

Im using it like this:

pawn Код:
forward ChatLog(string[]); // At top.

public ChatLog(string[]) // Function.
{
    new entry[256];
    format(entry, sizeof(entry), "%s\r\n",string);
    new File:hFile;
    hFile = fopen("RPG/Logs/chat.log", io_append);
    fwrite(hFile, entry);
    fclose(hFile);
}

new string[256]; // Where i want to use.
format(string, sizeof(string), "........",variables,variables); // Format the string.
ChatLog(string); // And save.
So lagg or no lagg?
Reply


Messages In This Thread
Lagg? - by Whizion - 24.10.2010, 21:02
Respuesta: Lagg? - by The_Moddler - 24.10.2010, 21:06
Re: Lagg? - by Hal - 24.10.2010, 21:11
Re: Lagg? - by Whizion - 24.10.2010, 22:01
Re: Lagg? - by Luis- - 24.10.2010, 22:06
Respuesta: Lagg? - by The_Moddler - 24.10.2010, 23:16
Re: Respuesta: Lagg? - by Whizion - 24.10.2010, 23:26
Respuesta: Lagg? - by The_Moddler - 24.10.2010, 23:39
Re: Lagg? - by Whizion - 24.10.2010, 23:51

Forum Jump:


Users browsing this thread: 1 Guest(s)