Changes

Jump to navigation Jump to search
Created page with "Скрипт обработки нажатия <syntaxhighlight lang="cpp" line> u8 state[2] = {0,0}; V-ID/142:99 { if (opt(0)==0xff){ if (state[0]==0) state[0] =..."
Скрипт обработки нажатия
<syntaxhighlight lang="cpp" line>
u8 state[2] = {0,0};
V-ID/142:99
{
if (opt(0)==0xff){
if (state[0]==0) state[0] = 1;
else state[0] = 0;
}else (opt(0)==0xfe){
state[0]=state[0];
}else {
state[0]=opt(0);
}

if(opt(1)==0xfe){
state[1]=state[1];
}else {
state[1]=opt(1);
}
setStatus(142:99,state);
}
</syntaxhighlight>
editor, translation-admin, translator
4,754

edits

Navigation menu