07.12.2011, 19:51
(
Последний раз редактировалось Kwarde; 07.12.2011 в 19:54.
Причина: Fixed
)
Never mind, fixed. Changed the "sizeof(storage)" to "size"
Hello.
I've been using FileManager (made by JaTochNietDan) for quite a long time already. I haven't had any problems with it. However, it now does. Compiling won't work anymore, even though I didn't even edit that include file. This occured since 0.3d (even though I can't imagine that could occur the problem).
This is the output I get when I compile my gamemode:
And this is the file. The 5th line's been marked:
Does anyone know what's going wrong? I also tried removing the mode[] = "a", but that didn't solve it.
If you can help me out, please do. Thanks in advance.
- Kevin
Hello.
I've been using FileManager (made by JaTochNietDan) for quite a long time already. I haven't had any problems with it. However, it now does. Compiling won't work anymore, even though I didn't even edit that include file. This occured since 0.3d (even though I can't imagine that could occur the problem).
This is the output I get when I compile my gamemode:
Код:
C:\Users\Kevin\Desktop\SAMP\pawno\include\filemanager.inc(5) : error 010: invalid function or declaration
C:\Users\Kevin\Desktop\SAMP\pawno\include\filemanager.inc(5) : error 001: expected token: ";", but found "("
pawn Код:
native file_move(file[],destination[]);
native file_delete(file[]);
native file_create(file[]);
native file_write(file[],text[],mode[] = "a");
native file_read(file[],storage[], sizeof(storage)); //LINE 5
native file_log();
native file_exists(file[]);
native dir_create(directory[]);
native dir_delete(directory[]);
native dir_exists(directory[]);
If you can help me out, please do. Thanks in advance.
- Kevin

