Stock New map
#7

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 : error 029: invalid expression, assumed zero
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
Reply


Messages In This Thread
Stock New map - by sanamalik400 - 03.10.2015, 13:12
Re: Stock New map - by sanamalik400 - 03.10.2015, 14:58
Re: Stock New map - by [ABK]Antonio - 03.10.2015, 15:10
Re: Stock New map - by sanamalik400 - 03.10.2015, 20:43
Re: Stock New map - by sanamalik400 - 03.10.2015, 20:46
Re: Stock New map - by [ABK]Antonio - 03.10.2015, 22:11
Re: Stock New map - by sanamalik400 - 03.10.2015, 22:40
Re: Stock New map - by sanamalik400 - 03.10.2015, 22:42
Re: Stock New map - by [ABK]Antonio - 03.10.2015, 23:17
Re: Stock New map - by AbyssMorgan - 04.10.2015, 06:50

Forum Jump:


Users browsing this thread: 1 Guest(s)