Vice City: Multiplayer

Off-Topic => Off-Topic General => Topic started by: [VL]BlacK.GoKu^ on Aug 21, 2017, 06:31 AM

Title: CreateTextdraw Problem
Post by: [VL]BlacK.GoKu^ on Aug 21, 2017, 06:31 AM
Hello friends i am using this Snippet i have added this in my server its Working fine. But when i upload my server on Cloudwards.es The System says CreateTextdraw Does not exists

Screenshot: http://ibb.co/cbnAu5
Snipper: http://forum.vc-mp.org/?topic=1209.msg36170#new
Title: Re: CreateTextdraw Problem
Post by: Cool on Aug 21, 2017, 07:36 AM
CREATE textdraw function has been removed in the latest updates use gui label
Title: Re: CreateTextdraw Problem
Post by: MEGAMIND on Aug 21, 2017, 11:28 AM
use this instead of Create Textdraw


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;
}
  }
Title: Re: CreateTextdraw Problem
Post by: Retard on Jan 02, 2018, 11:26 AM
Quote from: MEGAMIND on Aug 21, 2017, 11:28 AMuse this instead of Create Textdraw


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