GetCurrentGamemode

From GTA Network Wiki
Jump to: navigation, search

GetCurrentGamemode
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

Gets the name of the gamemode currently running and having "gamemode" in the meta.

Syntax

string NAPI.Resource.GetCurrentGamemode();

NOTE: This function returns data in string type.

Usage example(s)

Example Description

NAPI.Resource.GetCurrentGamemode();

Changelog

Version Description
1.0 Release.

References