Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock LoadNewMap()
- {
- new file[64];
- mapid %= MAX_MAP_FILES;
- format(file, sizeof(file), "/Maps/%d.ini", mapid);
- if(!fexist(file))
- {
- LastMapStarted = mapid;
- mapid++;
- return mapid;
- }
- else
- {
- LastMapStarted = mapid;
- mapid++;
- return mapid-1;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement