Jump to content

[HELP] Resource settings duplicating


Recommended Posts

  • Other Languages Moderators

Hello everyone.
I have a script with some settings that can be changed on Admin Panel, they are working fine without any error.
The settings are declared on meta.xml like this:

<settings>
    <setting name="*playerHouseCounter" value="[1]" friendlyname="Número de casas por jogador" group="General" accept="1-5" desc="Quantas casas cada jogador pode ter ao mesmo tempo." />
    <setting name="*keyVipLength" value="[4]" friendlyname="Número mínimo de caracteres na senha" group="General" accept="1-10" desc="Quantos caracteres no mínimo devem ter as senhas das casas." />
    <setting name="*vipACL" value="Vip" friendlyname="ACL Group VIP" group="General" accept="*" examples="Premium, VIP, vips, Payers, Pay2Play, etc" desc="Nome exato da ACL Group dos jogadores que são VIPs." />
</settings>

BUT
When I change a setting (from 1 to 2 as example), it appears duplicated with the new value, like this:
jC07QRlzSn_330oTEFI6Qg.png

In the script, I get those values with this:

get( 'playerHouseCounter' )

How can I do this? This error doesn't happens with original resources.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...