mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-10 10:20:41 -07:00
Added initial version
This commit is contained in:
commit
b452bd670c
13290 changed files with 1178433 additions and 0 deletions
18
dumps/scripts/2052.cs2
Normal file
18
dumps/scripts/2052.cs2
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
void script_2052(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,string arg6,string arg7,string arg8) {
|
||||
setWidgetHidden(0);
|
||||
setWidgetSize(arg0, arg1, 0, 0);
|
||||
setWidgetPosition(arg2, arg3, 1, 1);
|
||||
setWidgetRGB(new Color(arg4));
|
||||
setWidgetFont(591);
|
||||
setWidgetTextAlignment(1, 1, 13);
|
||||
setWidgetText(arg6);
|
||||
if (arg5 != -1) {
|
||||
cs2method1305("<col=ff9040>" + arg7 + "</col>");
|
||||
setWidgetContextMenuOption(1, arg8);
|
||||
setScriptCallOnClickContextMenu(2053, -2147483644, new WidgetPointer(-32768,3), arg5, "iIc");
|
||||
} else {
|
||||
setWidgetContextMenuOption(1, "");
|
||||
setScriptCallOnClickContextMenu(-1, "");
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue