Table of Contents

Class RequiresPermissionAttribute

Namespace
SampSharp.Entities.SAMP.Commands
Assembly
SampSharp.OpenMp.Entities.Commands.dll

Adds a permission tag to the command. See also CommandTagAttribute.

[AttributeUsage(AttributeTargets.Method)]
public class RequiresPermissionAttribute : CommandTagAttribute
Inheritance
RequiresPermissionAttribute
Inherited Members

Constructors

RequiresPermissionAttribute(string)

Adds a permission tag to the command. See also CommandTagAttribute.

public RequiresPermissionAttribute(string permission)

Parameters

permission string