Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:02 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.