Billy EatWorld 0 Posted September 27, 2021 class Params { class test { title = "Test"; texts[] = {"One","Two","Three"}; values[] = {"1","2","3"}; default = "1"; }; }; Like this? "test" call BIS_fnc_getParamValue; just returns 0. Thanks guys! Share this post Link to post Share on other sites
gc8 970 Posted September 27, 2021 Doesn't seem to be possible to have strings in values Edit: https://community.bistudio.com/wiki/BIS_fnc_getParamValue says it returns a number 2 Share this post Link to post Share on other sites
UnDeaD. 81 Posted September 27, 2021 Hi, "test" call BIS_fnc_getParamValue returns 0, because the default value you assigned to it is a string and it has to be a number. Remove the quotes from values and default and it should work fine. Share this post Link to post Share on other sites