PluginAttributePrefersSingleInstance Property

RAGE Plugin Hook Documentation

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

Gets or sets a value indicating whether this plugin prefers to only have one instance of itself loaded at any given time.

If true the plugin can still be loaded multiple times, but requires the force parameter of the LoadPlugin command to be set to true.

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

public bool PrefersSingleInstance { get; set; }

Property Value

Type: Boolean
true if this plugin prefers a single instance; otherwise, false.
See Also

Reference