SetCommandErrorMessage

From GTA Network Wiki
Jump to: navigation, search

SetCommandErrorMessage
Server-Side Function

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

Sets the error message you get when a chat command is not found. The default is: ~r~ERROR:~w~ Command not found.

Syntax

void NAPI.Server.SetCommandErrorMessage(string msg);

Required Arguments

  • msg: parameter input should be in string type.

Usage example(s)

NAPI.Server.SetCommandErrorMessage("~r~ERROR:~w~ Read the damn manual! That's not a command.");

Changelog

Version Description
1.0 Release.

References