Signature
forward server_changelevel(map[]);
Description
Called when the mod tries to change the map.
Notes
-
This is *only* called if the mod itself handles the map change. The
server command "changelevel", which is used by many plugins, will not
trigger this forward. Unfortunately, this means that in practice this
forward can be unreliable and will not be called in many situations.
-
AMXX 1.8.3 has added the engine_changelevel() function, which will utilize
the correct engine function to change the map, and therefore trigger
this forward.
Parameters
- map — Map that the mod tries to change to
Returns
PLUGIN_CONTINUE to let the mod change the map
PLUGIN_HANDLED or higher to prevent the map change