GameAddConsoleCommands Method (MethodInfo)

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Adds console commands from the specified methods.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public static void AddConsoleCommands(
	MethodInfo[] methods
)

Parameters

methods
Type: System.ReflectionMethodInfo
The methods to add as console commands. The methods must be static and marked with the [!:Rage::Attributes::ConsoleCommand] attribute.
Remarks

Methods already added within the calling plugin, will not be added again.
See Also

Reference