ns_get_gameplay

Синтаксис

native NSGameplay:ns_get_gameplay();

Описание

Returns the gameplay type for the currently active map.
Refer to ns_const.inc's NSGameplay enum for details.

Забележка

The earliest this is guaranteed to be accurate is during plugin_init().  It needs
the info_gameplay entity to be properly set within the map, or it will return "Unknown",
or "Cantfind".

Връщаща стойност

Return the gameplay mode, as accurate as the module can tell.