ID:268832
 
                src.description = {"<html><title>[src]
</title><body bgcolor = "#CCCCCC" text = "#000000"><center>
<img src =
[src.icon]>
"}


1) When I execute a procedure make the person browse a weapon's description, the icon just isn't there.

2) [Edit]I fixed number 2.
[Edit2]Shortened code.
\icon[weapon]


<IMG CLASS=icon SRC=\ref[weapon] ICONSTATE='[weapon.icon_state]'>
In response to Ter13
Thanks, Ter. :D

[Edit] Noes, they don't work. :(
In response to Hell Ramen
Direct quote from the reference:

"Note that the \icon macro does not work in the mini-browser; it is only for text output. To make icons appear in an HTML document, use browse_rsc() to send an icon to the client before using browse() to display it."
In response to Ter13
Does that mean I have to make an icon file for each one, besides just using icon_states in one icon file?
browse_rsc(src.icon,src.icon_state) Doesn't work
browse_rsc(src.icon) Doesn't work...

It all shows the first icon within the file. :(

Please, help.
In response to Hell Ramen
Hell Ramen wrote:
Does that mean I have to make an icon file for each one, besides just using icon_states in one icon file?
browse_rsc(src.icon,src.icon_state) Doesn't work
browse_rsc(src.icon) Doesn't work...

It all shows the first icon within the file. :(

Please, help.

Try browse_rsc(icon(src.icon, src.icon_state)) :)
In response to Jon88
:(

Nope...
Thanks, anyways. =/