Hello again,
I did read about setData and GetData on the wiki. So i did this piece of code thinking about storing and retrieving a value, 2.
_number = 2 ; ["Stored", _number] call ALiVE_fnc_setData; if ((["Stored"] call ALiVE_fnc_getData) == 2 ) then { ["Good.","hint",true,true] call BIS_fnc_MP; } else { ["Bad.","hint",true,true] call BIS_fnc_MP; };
For you experienced people. It is a good way to use these functions? Is this code any good?