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.