server_changelevel
- Синтаксис
-
forward server_changelevel(map[]);
Переменная | Описание |
---|---|
map |
Map that the mod tries to change to |
- Описание
- Called when the mod tries to change the map.
- Пометка
-
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.
- Возвращает
- PLUGIN_CONTINUE to let the mod change the map PLUGIN_HANDLED or higher to prevent the map change