Skip to content

CalloutPropertiesAttribute

Daniel K edited this page Jun 28, 2020 · 12 revisions

Usage:

using CitizenFX.Core;
using static CitizenFX.Core.Native.API;
using FivePD.API;

[CalloutProperties("CalloutName","Author", "1.0")]
public class CalloutName : Callout
{
// ...
}

Displayed in the console like:

<CalloutName> <Version> by <Author> has been loaded.

Name

Type: string

Usage status: Required

The name of the callout, which will be displayed in the console after being loaded.

public string name { get; private set; }

Version

Type: string

Usage status: Required

The version of the callout, which will also be displayed in the console after being loaded.

public string version { get; private set; }
Clone this wiki locally