SetGamemodeName

From RAGE Multiplayer Wiki

Sets the gamemode name (the one you set in conf.json - "gamemode").


C# Syntax

void NAPI.Server.SetGamemodeName(string gamemodeName);

Parameters

  • gamemodeName: parameter input should be in string type

Example

NAPI.Server.SetGamemodeName("BeastServer");