SetServerPassword

From GTA Network Wiki
Jump to: navigation, search

SetServerPassword
Server-Side Function

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

Sets the current server connection password.

Syntax

void NAPI.Server.SetServerPassword(string password);

Required Arguments

  • password: parameter input should be in string type.

Usage example(s)

[Command("setserverpassword", ACLRequired = true)]
public void SetServerPasswordCommand(Client sender, string password)
{
	NAPI.Server.SetServerPassword(password);
}

Changelog

Version Description
1.0 Release.

References