mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
13 lines
381 B
Text
13 lines
381 B
Text
void script_1391(int arg0,int arg1) {
|
|
if (cs2method3751()) {
|
|
setWidgetText(new WidgetPointer(912,24), "");
|
|
setWidgetIsHidden(true, new WidgetPointer(arg1));
|
|
return;
|
|
}
|
|
if ((mod(subtract(getClientCycle(), arg0), 40) < 20) && hasWindowFocus()) {
|
|
setWidgetIsHidden(false, new WidgetPointer(arg1));
|
|
} else {
|
|
setWidgetIsHidden(true, new WidgetPointer(arg1));
|
|
}
|
|
return;
|
|
}
|