ID:145561
 
Code:
mob/BaseCamp/ChoosingCharacter
ChooseCharacterMenu(list/menu)
// For each menu item, we'll create an HTML link in a table.
// The Topic() proc gets called when a link is clicked.
// The src setting tells it to call Topic() for this object.
var/menu_rows = ""
for (var/item in menu)
menu_rows += {"<tr><td align="center"><a href="?menu=choosing_character;choice=[item];src=\ref[src]">\[[item]]</a></td></tr>"}

var/page = {"
<body bgcolor=black scroll=no>
<center>
<h2><img src=lastwarriorbanner.bmp></h2>
<b><i>Choose a character</i></b><br><br>
<table border=1 cellpadding=3>
[menu_rows]
</table>
</center>
"}


// Send them the page.
src << browse(page, "window=CharacterMenu;titlebar=0;can_close=0;can_minimize=0;size=600x400")

DeleteCharacterMenu(list/menu)
var/menu_rows = ""
for (var/item in menu)
menu_rows += {"<tr><td align="center"><a href="?menu=deleting_character;choice=[item];src=\ref[src]">\[[item]]</a></td></tr>"}

var/page = {"
<body bgcolor=black scroll=no>
<center>
<h2><font color="blue">Deleting character!</font></h2>
<b><i><font color=red>Choose who to rub out<font></i></b><br><br>
<table border=1 cellpadding=3>
[menu_rows]
</table>
</center>
"}


Problem description:


i changed my image but not the filename but wont work properly. You see the image appears when i run it but as the previous image i had running on there
Have to use browse_rsc.
browse_rsc(lastwarriorbanner.png,"lastwarriorbanner.png")