View Single Post
  #1  
Old 08-25-2009, 09:37 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Clientside TDrawingPanel

Well I decided I would experiment with it today but I just can't get it to work.

PHP Code:
//#CLIENTSIDE
function onCreated() {
  
temp.panel = new TDrawingPanel();
  
temp.panel.setsize(getimgwidth(player.head), getimgheight(player.head));
  
temp.panel.drawimage(00player.head);
  
temp.panel.saveimage("test.png");
  
temp.panel.destroy();

The error.

GraalScript: Couldn't create object: type TDrawingPanel is not existing in script of Weapon Jerret/Debugger

Edit: I was able to find success with GuiDrawingPanel but I'm still curious as to why the above doesn't work.
__________________
Quote:
Reply With Quote