Answer the question
In order to leave comments, you need to log in
Setting values, array?
Hello. Faced the problem that I can not set the value as an array. To be honest, I don’t even know how it’s better to fly, I came from php. Suggested code:
//name - the value in which the user's name is written. this.cfg is a public variable which is the configuration. set is a subfunction of the Config class that sets a value. I don't know what it is, okay.
this.cfg.set(name, [1, 1,1]);
//tell me how to implement something like this.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question