mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
Defaults to mapcycle.txt now.
This commit is contained in:
parent
67fbc56618
commit
f520743aa2
@ -66,6 +66,8 @@ public plugin_init()
|
|||||||
new maps_ini_file[64];
|
new maps_ini_file[64];
|
||||||
get_configsdir(maps_ini_file, 63);
|
get_configsdir(maps_ini_file, 63);
|
||||||
format(maps_ini_file, 63, "%s/maps.ini", maps_ini_file);
|
format(maps_ini_file, 63, "%s/maps.ini", maps_ini_file);
|
||||||
|
if (!file_exists(maps_ini_file))
|
||||||
|
format(maps_ini_file, 63, "mapcycle.txt")
|
||||||
if ( loadSettings(maps_ini_file) )
|
if ( loadSettings(maps_ini_file) )
|
||||||
set_task(15.0,"voteNextmap",987456,"",0,"b")
|
set_task(15.0,"voteNextmap",987456,"",0,"b")
|
||||||
}
|
}
|
||||||
|
@ -65,6 +65,8 @@ public plugin_init()
|
|||||||
new maps_ini_file[64];
|
new maps_ini_file[64];
|
||||||
get_configsdir(maps_ini_file, 63);
|
get_configsdir(maps_ini_file, 63);
|
||||||
format(maps_ini_file, 63, "%s/maps.ini", maps_ini_file);
|
format(maps_ini_file, 63, "%s/maps.ini", maps_ini_file);
|
||||||
|
if (!file_exists(maps_ini_file))
|
||||||
|
format(maps_ini_file, 63, "mapcycle.txt")
|
||||||
load_settings(maps_ini_file)
|
load_settings(maps_ini_file)
|
||||||
|
|
||||||
g_cstrikeRunning = (is_running("cstrike") || is_running("czero"))
|
g_cstrikeRunning = (is_running("cstrike") || is_running("czero"))
|
||||||
|
Loading…
Reference in New Issue
Block a user