Signature
native NSGameplay:ns_get_gameplay();
Description
Returns the gameplay type for the currently active map.
Refer to ns_const.inc's NSGameplay enum for details.
Notes
-
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".
Returns
Return the gameplay mode, as accurate as the module can tell.