![]() |
Drawing a head image in a text list
Ok, so here's what I'm doing. I'm gathering data from a database NPC that has certain heads listed in it via a triggerserver. I'm then sending the data back to the client and then adding the data to the text list control and setting the icon image as the head names that have been send back. It's all working well, although the heads are facing the wrong way.
I know that you can use partx,party,partw,parth to tweak this to make the heads face the right way, but I don't know how to apply it, or where to apply it under these circumstances. Can somebody help me out? Database Data HTML Code:
heads=head.png,head1.png,head2.png,head3.pngPHP Code:
|
GuiDrawingPanel.drawimagerectangle(int, int, str, int, int, int, int) - destination x and y, source image, source x,y,width and height
icon.drawimagerectangle(0, 0, head_img, 0, 32 * 2, 32, 32); |
Quote:
|
| All times are GMT +2. The time now is 07:45 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.