SetServerName

From GTA Network Wiki
Jump to: navigation, search

SetServerName
Server-Side Function

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

Sets the current server name.

Syntax

void NAPI.Server.SetServerName(string serverName);

Required Arguments

  • serverName: parameter input should be in string type.

Usage example(s)

[Command("setservername", ACLRequired = true)]
public void SetServerNameCommand(Client sender, string name)
{
	NAPI.Server.SetServerName(name);
}

Changelog

Version Description
1.0 Release.

References