PHP Code:
new Float:old_buytime
public plugin_init()
{
register_logevent("roundend", 2, "1=Round_End")
old_buytime = get_cvar_float("mp_buytime")
}
public roundend()
{
server_cmd("mp_buytime %f",old_buytime);
}
You may know that round end is not map end.
You can set mp_buytime in cstrike/game.cfg if you want a specific value to be set each new map.
__________________