03.10.2015, 15:10
Quote:
|
hello samp,,,
anyone can help me for fixing this,, i have 10 maps for my gm,,when i start my server,,they work.good,, but after 10 maps when server again load map 1.. and map.1 time complete.,,server not loading other maps,,server loading map 1 again and again,,and my gm crash.. PHP код:
|
Код:
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;
}


