View Single Post
  #1  
Old 08-12-2008, 03:55 PM
Programmer Programmer is offline
Coder
Programmer's Avatar
Join Date: Jan 2008
Location: -78.464422, 106.837328
Posts: 449
Programmer has a spectacular aura aboutProgrammer has a spectacular aura about
Send a message via AIM to Programmer Send a message via MSN to Programmer Send a message via Yahoo to Programmer
GuiDrawingPanel Dynamic Name Problem

GuiDrawingPanel seems to have a problem when trying to create a variable using this method:

PHP Code:
new GuiDrawingPanel("Foo_" temp.var)
{
// foo, bar and ... you guessed it ... baz.

When trying to access functions such as drawimage(), it fails. It works fine with a static name.

Reproduction Code:
PHP Code:
new GuiDrawingPanel("EDITOR_" temp.num)
{
  
0;
  
  
clearall();
  
drawimage(00gettileset());

Anyone else able to reproduce this?
__________________
- Iᴀɴ Zɪᴍᴍᴇʀᴍᴀɴ
Reply With Quote