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
27
dumps/scripts/4317.cs2
Normal file
27
dumps/scripts/4317.cs2
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
void script_4317(int arg0,int arg1) {
|
||||
int ivar2;
|
||||
ivar2 = 0;
|
||||
if (cs2method3751()) {
|
||||
if ((arg1 < 0) || (arg1 >= cs2method3755())) {
|
||||
globalint_1518 = -1;
|
||||
globalstring_126 = "";
|
||||
messageType0("That person isn't in your clan channel.");
|
||||
return;
|
||||
}
|
||||
if (setWidgetRegister(new WidgetPointer(arg0), arg1)) {
|
||||
ivar2 = getWidgetActualY();
|
||||
}
|
||||
globalint_1518 = arg1;
|
||||
globalstring_126 = cs2method3756(arg1);
|
||||
if (setWidgetRegister(new WidgetPointer(1110,20))) {
|
||||
setWidgetSize(1, 19, 0, 0);
|
||||
setWidgetPosition(0, ivar2, 2, 0);
|
||||
setScriptCallOnGameloop(4629, 1, "i");
|
||||
setWidgetIsHidden(false, new WidgetPointer(1110,13));
|
||||
setWidgetPosition(0, ivar2, 2, 0, new WidgetPointer(1110,13));
|
||||
}
|
||||
} else {
|
||||
messageType0("You must be in your clan channel to do that.");
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue