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
13
dumps/scripts/425.cs2
Normal file
13
dumps/scripts/425.cs2
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
void script_425() {
|
||||
if (((boolean)globalint_1366)) {
|
||||
setWidgetContextMenuOption(1, new WidgetPointer(1019,16), "Accept Victory");
|
||||
setWidgetText(new WidgetPointer(1019,16), "Accept Victory");
|
||||
setWidgetText(new WidgetPointer(1019,0), "Your opponent has logged out. You may end the Conquest now and be declared the winner.");
|
||||
} else {
|
||||
setWidgetContextMenuOption(1, new WidgetPointer(1019,16), "Resign");
|
||||
setWidgetText(new WidgetPointer(1019,16), "Resign");
|
||||
setWidgetText(new WidgetPointer(1019,0), "If you resign, the Conquest will end immediately.");
|
||||
sendCloseWidgetPacket();
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue