03.10.2015, 22:40
Quote:
main() { LoadNewMap(); } #define MAX_MAP_FILES (10) new mapid, new LastMapStarted = -1; stock LoadNewMap() { new file[64]; LastMapStarted = mapid; mapid = mapid==MAX_MAP_FILES(10) mapid+1); ////this line format(file, sizeof(file), "/Maps/%d.ini", mapid); if(!fexist(file)) return printf("[NOTICE] File Bugged."); return mapid; } |
C:\Users\muaz baba\Desktop\zGM[Fahad]\gamemodes\zma.pwn(521 : warning 215: expression has no effect
C:\Users\muaz baba\Desktop\zGM[Fahad]\gamemodes\zma.pwn(521 : error 001: expected token: ";", but found ":"
C:\Users\muaz baba\Desktop\zGM[Fahad]\gamemodes\zma.pwn(521 : error 029: invalid expression, assumed zero
C:\Users\muaz baba\Desktop\zGM[Fahad]\gamemodes\zma.pwn(521 : fatal error 107: too many error messages on one line