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
8
dumps/scripts/1551.cs2
Normal file
8
dumps/scripts/1551.cs2
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
int script_1551(int arg0,int arg1,int arg2,string arg3) {
|
||||
arg3 = script_1602(arg3);
|
||||
arg0 = min(strLength(arg3), arg0);
|
||||
if (arg0 <= 0) {
|
||||
return arg2;
|
||||
}
|
||||
return add(getTextWidth(arg1, substr(0, arg0, arg3)), arg2);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue