mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
Added initial version
This commit is contained in:
commit
b452bd670c
13290 changed files with 1178433 additions and 0 deletions
14
dumps/scripts/2927.cs2
Normal file
14
dumps/scripts/2927.cs2
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
void script_2927(int arg0,int arg1,int arg2,int arg3,string arg4) {
|
||||
if (arg0 != -1) {
|
||||
if (((boolean)arg3)) {
|
||||
setWidgetText(new WidgetPointer(arg1), "<u=fafafa>" + arg4 + "</u>");
|
||||
setWidgetRGB(new Color(250, 250, 250), new WidgetPointer(arg1));
|
||||
setWidgetSize(getTextWidth(arg2, arg4), getWidgetActualHeight(new WidgetPointer(arg0)), 0, 0, new WidgetPointer(arg0));
|
||||
} else {
|
||||
setWidgetText(new WidgetPointer(arg1), "<u=c8c8c8>" + arg4 + "</u>");
|
||||
setWidgetRGB(new Color(200, 200, 200), new WidgetPointer(arg1));
|
||||
setWidgetSize(getTextWidth(arg2, arg4), getWidgetActualHeight(new WidgetPointer(arg0)), 0, 0, new WidgetPointer(arg0));
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue