Quote:
Originally Posted by devilsknite1
I couldn't load the attribute as an array by using (@player.attr[#])[1], so I had to end up treating it as a string and using:
PHP Code:
temp.icon = player.attr[ 12 ].substring( player.attr[ 12 ].pos( "," ) + 1, player.attr[ 12 ].length() );
|
It might be easier to do something like
PHP Code:
temp.icon = player.attr[12].tokenize(",")[1];
I think this will work but not entirely certain.
Quote:
However, it still does not load gani, which obviously disallows the image to be shown. Is it still possible for the gani to be shown with the attribute of which contains the gani and is also storing the image displaying in the gani? Storing it in two separate attributes works fine, but it would be nice to condense it into one.
|
I think so, but unfortunately can't remember and can't test it (no Linux client), sorry!