Szerintem ehelyett:
#if DEFAULT == true
Ezt kéne:
#if defined DEFAULT
Köszönöm!
Most 1 hiba jött elõ:
C:\\Documents and Settings\\Dani\\Dokumentumok\\samp03z_svr_R1_win32\\pawno\\include\\YSI/y_timers.inc(80) : fatal error 100: cannot read from file: \"internal\\y_plugins\"
Ebben az esetben:
#include <YSI/y_timers>
Ha:
#include <YSI\\y_timers>
akkor:
C:\\Documents and Settings\\Dani\\Dokumentumok\\samp03z_svr_R1_win32\\filterscripts\\AdvLog+.pwn(101) : error 010: invalid function or declaration
C:\\Documents and Settings\\Dani\\Dokumentumok\\samp03z_svr_R1_win32\\filterscripts\\AdvLog+.pwn(103) : error 021: symbol already defined: \"SendClientMessageToAll\"
C:\\Documents and Settings\\Dani\\Dokumentumok\\samp03z_svr_R1_win32\\filterscripts\\AdvLog+.pwn(107) : error 010: invalid function or declaration
C:\\Documents and Settings\\Dani\\Dokumentumok\\samp03z_svr_R1_win32\\AdvLog+.pwn(112) : error 054: unmatched closing brace (\"}\")
Timer:isFSConfigured[2000]() {
#if defined DEFAULT
SendClientMessageToAll(-1, \"Please configure the AdvLog+ Filterscript...\");
printf(\"[AdvLog+] You haven\'t edited the script yet, please do so.\");
#endif
#if MySQL == true
if(!mysql_ping(mysqlConnection)) {
printf(\"[WARNING][AdvLog+ - MySQL]: The MySQL Connection has been lost, attempting to reconnect...\");
mysql_reconnect(mysqlConnection);
}
#endif
}
De minden bizonnyal a \\ jeles include sor a helyes.
Dupla hozzászólás automatikusan összefûzve. ( 2014. február 24. - 15:07:28 )
Kiegészítés:
ha felrakom a Zeex javításos compilert, akkor:
pawno\\include\\YSI\\internal\\..\\internal\\..\\internal\\y_natives.inc(65) : fatal error 100: cannot read from file: \"y_globaltags\"