Stock New map
#6

Quote:
Originally Posted by sanamalik400
Посмотреть сообщение
not working,,many compile errors
Did you even compile it? Did the code you put even compile to start with? I just tested it my self and it compiled perfectly. It's on your end.


pawn Код:
main()
{  
    LoadNewMap();
}

#define MAX_MAP_FILES (5)
new mapid,
    LastMapStarted;

stock LoadNewMap()
{
    new file[64];
    LastMapStarted = mapid;
    mapid = mapid==MAX_MAP_FILES?(1):(mapid+1);

    format(file, sizeof(file), "/Maps/%d.ini", mapid);
    if(!fexist(file)) return printf("[NOTICE] File Bugged.");
    return mapid;
}
Compiled 100% fine.
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: 2 Guest(s)