engine_changelevel

Syntax

native engine_changelevel(const map[]);

Usage

Parameter Description
map
Map name to change to

Description

Changes the map.

Note

  • This calls the pfnChangelLevel engine function.
  • This has the same behavior as using the "changelevel" server command,
    but will also trigger the server_changelevel() forward in AMXX
    plugins. It will also notify any Metamod plugins that are hooking
    the pfnChangeLevel function.

Return

This function has no return value.