07.06.2015, 09:38
Quote:
stock AddTextToFile(filename[], text[]) { if(text[0] == EOS) return false; new File: LSPD = fopen("factions/LSPD.ini", (fexist("factions/LSPD.ini") io_append : io_write)); if(!LSPD) return false; fwrite(LSPD, text); fclose(LSPD); return true; } |
Quote:
error 001: expected token: ")", but found "-identifier-" error 029: invalid expression, assumed zero warning 215: expression has no effect error 001: expected token: ";", but found ")" |
Quote:
new File: LSPD = fopen("factions/LSPD.ini", (fexist("factions/LSPD.ini") io_append : io_write)); |