Translations:Virtual/8/en

From Larnitech wiki page
Jump to navigation Jump to search
1u8 state = 0;
2V-ID/142:99 {
3    if (opt(0)==0xff){//pressing the element in the interface
4        if (state==0) state = 1;
5        else state = 0;
6        setStatus(142:99,state);//for correct displaying in the interface
7    }
8}