News A server update was released on July 20. Server patch notes and downloads are here. Additionally, a client update was released on the same day. Client patch notes are here.
CreateTextdraw Problem

[VL]BlacK.GoKu^

  • Newbie
  • Posts: 12

Cool

  • Hero Member
  • Posts: 767
Re: CreateTextdraw Problem
« Reply #1,  »
CREATE textdraw function has been removed in the latest updates use gui label

MEGAMIND

  • Sr. Member
  • Developer of "Web-Net" search engine
  • Posts: 327
Re: CreateTextdraw Problem
« Reply #2,  »
use this instead of Create Textdraw


Code: [Select]
test <- null;
function Script::ScriptLoad()
{
 {
test <- GUIMemobox( VectorScreen( 1188, 670 ), VectorScreen( 80,70), Colour(255,255,255));
test.AddLine( "text here", Colour(122, 122, 255) );
test.AddLine( "text here 2", Colour( 255, 122, 122));
test.RemoveFlags( GUI_FLAG_BACKGROUND | GUI_FLAG_BORDER );
test.FontFlags = GUI_FFLAG_OUTLINE | GUI_FFLAG_ITALIC;
test.FontName = "Tahoma";
test.FontSize = 15;
}
  }

Ali Ahmed

  • Full Member
  • Why so rude,be more rude
  • Posts: 103
Re: CreateTextdraw Problem
« Reply #3,  »
Quote from MEGAMIND on August 21st, 2017, 12:28 PM
use this instead of Create Textdraw


Code: [Select]
test <- null;
function Script::ScriptLoad()
{
 {
test <- GUIMemobox( VectorScreen( 1188, 670 ), VectorScreen( 80,70), Colour(255,255,255));
test.AddLine( "text here", Colour(122, 122, 255) );
test.AddLine( "text here 2", Colour( 255, 122, 122));
test.RemoveFlags( GUI_FLAG_BACKGROUND | GUI_FLAG_BORDER );
test.FontFlags = GUI_FFLAG_OUTLINE | GUI_FFLAG_ITALIC;
test.FontName = "Tahoma";
test.FontSize = 15;
}
  }
Thanks for telling
Need some Help pm me.Wanna see my server the name is Pakistan Theft Auto Reloaded