Documentation

Want to improve the docs? Take a look at scripting-api-data!
Found a bug? jc3mp/bugs is a good place to let us know.

Settings

Constructible This class can not be instantiated from your script. Do not try to use the `new` keyword on this class. Auto Destroy To delete an instance of this class, use the `Destroy` function of this class. You can find the function definition below. Custom Properties You cannot add your own properties to instances of this class. They will not be saved and can cause undefined behavior.

Just don't use it for now.

Properties

This class does not have any properties.

Functions

Settings.Set(string p1, any p2)

This function is marked as unstable and is not recommended for use in production environments. It is not guaranteed to work at all (we're sorry).

Parameter

Name Type Description
p1 string
p2 any

Settings.Get(string p1)

This function is marked as unstable and is not recommended for use in production environments. It is not guaranteed to work at all (we're sorry).

returns: any

Parameter

Name Type Description
p1 string

Settings.Exists(string p1)

This function is marked as unstable and is not recommended for use in production environments. It is not guaranteed to work at all (we're sorry).

returns: boolean

Parameter

Name Type Description
p1 string

Settings.Delete(string p1)

This function is marked as unstable and is not recommended for use in production environments. It is not guaranteed to work at all (we're sorry).

returns: boolean

Parameter

Name Type Description
p1 string

Settings.Destroy()

Destroys the Settings

Stay informed

By becoming the newest member of our growing forums, we and hundreds of other players will always keep you up to date on everything JC3:MP related.