04.01.2011, 21:24
Код:
C:\Users\Admin\Desktop\RPG\gamemodes\N_RPG.pwn(2168) : error 027: invalid character constant C:\Users\Admin\Desktop\RPG\gamemodes\N_RPG.pwn(2168) : error 027: invalid character constant C:\Users\Admin\Desktop\RPG\gamemodes\N_RPG.pwn(2170) : error 027: invalid character constant C:\Users\Admin\Desktop\RPG\gamemodes\N_RPG.pwn(2170) : error 027: invalid character constant C:\Users\Admin\Desktop\RPG\gamemodes\N_RPG.pwn(2174) : error 027: invalid character constant C:\Users\Admin\Desktop\RPG\gamemodes\N_RPG.pwn(2174) : error 027: invalid character constant Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors.
pawn Код:
public IRC_OnReceiveRaw(botid, message[])
{
new File:file;
if (!fexist("IRC\IRC_Log.txt"))
{
file = fopen("IRC\IRC_Log.txt", io_write);
}
else
{
file = fopen("IRC\IRC_Log.txt", io_append);
}
if (file)
{
fwrite(file, message);
fwrite(file, "\r\n");
fclose(file);
}
return 1;
}