-
Notifications
You must be signed in to change notification settings - Fork 8
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.
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; }
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; }