Do other sprites work? Perhaps you've got the wrong componentId.
|
Hi,
I'm trying to send a sprite onto an interface component, and it doesn't seem to be working with the code i'm using.
Code:player.getPackets().sendIComponentSprite(INTERFACE_ID, 61, 1174);
1174 = the sprite i'm trying to send onto my interface but it doesn't do anything.
Do other sprites work? Perhaps you've got the wrong componentId.
You can't add a sprite and text at the same time. You can programatically, but a component is either a sprite component or a text component. Component 11 in interface 1164 is a sprite component, so you should be able to change the sprite of it. The default sprite id of that component is 8391.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |