mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-21 09:02:07 -07:00
Added initial version
This commit is contained in:
commit
b1dccb3fed
14153 changed files with 1285206 additions and 0 deletions
12
dumps/scripts/4542.cs2
Normal file
12
dumps/scripts/4542.cs2
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
void script_4542(int arg0,int arg1,int arg2) {
|
||||
int ivar3;
|
||||
arg0 = min(100, arg0);
|
||||
arg0 = max(0, arg0);
|
||||
if (arg1 == -1) {
|
||||
return;
|
||||
}
|
||||
ivar3 = divide(multiply(arg0, 16384), 100);
|
||||
setWidgetSize(ivar3, getWidgetActualHeight(new WidgetPointer(arg1)), 2, 0, new WidgetPointer(arg1));
|
||||
script_4212(arg2, 3793, 14014931, 0, intToStr(arg0) + "%");
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue