ID:167050
 
basicly insted of haveing names i want to use icons, i have 0 erros in my code but it isnt displaying them 32x32,

there displayed at 16x16, even tho the icon uses the whole icon sized window.. can someone help me please its bugging me now..

My Code :

var
icon
a = icon('Chat Icons.dmi',"Mod")
b = icon('Chat Icons.dmi',"Global")
c = icon('Chat Icons.dmi',"Admin")
mob/verb/say(msg as text)
if(usr.staffmember==1)
world << "\icon[a] ([usr] of the [race]):[msg]"

like i sed 0 errors, so why is it displaying at 16x16 and not 32x32, icons need to be 32x32 because they wont look right otherwise..

btw, all the rest of the vars require to indicate staff and players are in and dont give erros, basicly its just the image size is wrong for somereason.. i cant locate the problem eaither, there miht be something conflicting and makeing it resize as in my other game all icons appeare normaly..
You can use client/script to set that using CSS.


Example:

client/script = {"
<STYLE>
IMG.icon {
width: 32px;
height: 32px; }
</STYLE>
"}


-Doh
In response to XxDohxX
sorted it, smilies do the same they display same size on window even tho there 32x32.. just my eye sigh, plus images has spaced so it messed them up more..

neways made new icons..