Skip to content

A way to add Values? #49

@divide29

Description

@divide29

Hi,
do you know how to add new Values while in a string?

I have:
for i, v in ipairs(Config.Fonts) do fontslider:AddValue(Config.Fonts[i].value, Config.Fonts[i].label) end

I have no errors, but the values don't added.

The Config:

`Config = {}

Config.Fonts = {
[1] = {value = {graffiti1}, label = 'Next Custom'},
[2] = {value = {graffiti2}, label = 'Dripping Marker'},
[3] = {value = {graffiti3}, label = 'Docallisme'},
[4] = {value = {graffiti4}, label = 'Fat Wandals'},
[5] = {value = {graffiti5}, label = 'Sister Spray'},
[6] = {value = {graffiti6}, label = 'Pricedown'},
[7] = {value = {graffiti7}, label = 'Chalet'}
}`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions