how i can i put in other style textdraws mine is like this
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi68.tinypic.com%2Ffd55yu.jpg&hash=d8d58d3bcfceb63c95626994dec129e16f502961)
its code is this
Memo <- null;
function Script::ScriptLoad()
{
Memo <- GUIMemobox( VectorScreen( 1188, 670 ), VectorScreen( 90,50 ), Colour( 250, 250, 250, 100 ) );
Memo.AddLine( "[0.4]CVFRS vcmp 04rel004" );
}
its in
C:\Users\MEGAMIND\Desktop\[0.4]CustomVC-MPFreeRoamServer\store\script\main.nut
i want textdraws to be like this server
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi67.tinypic.com%2F2vc9dg4.jpg&hash=0da6afad42c18e3f5dba327941fe5b416887323b)
Use GUILabel(s) and position the gui using mofiki's coordinate finder.
RemoveFlags( GUI_BACKGROUND ) or something like that. Search it in the main topic about GUIs or in the wiki
any example if someone of u can provide by using this
GUILabel
Constructor GUILabel()
Constructor GUILabel(position, colour)
Parameter types: VectorScreen, Colour
Constructor GUILabel(position, colour, text)
Parameter types: VectorScreen, Colour, string
Constructor GUILabel(position, colour, text, flags)
Parameter types: VectorScreen, Colour, string, int
Your_GUI.RemoveFlags( GUI_FLAG_BACKGROUND | GUI_FLAG_BORDER )
try playing with that.
STILL NO idea kindly tell in proper complete function i.e any example would do
whre should be this line--------------->Your_GUI.RemoveFlags( GUI_FLAG_BACKGROUND | GUI_FLAG_BORDER )
either in this code or
Memo <- null;
function Script::ScriptLoad()
{
Memo <- GUIMemobox( VectorScreen( 1188, 670 ), VectorScreen( 90,50 ), Colour( 250, 250, 250, 100 ) );
Memo.AddLine( "[0.4]CVFRS vcmp 04rel004" );
}
or
GUILabel
Constructor GUILabel()
Constructor GUILabel(position, colour)
Parameter types: VectorScreen, Colour
Constructor GUILabel(position, colour, text)
Parameter types: VectorScreen, Colour, string
Constructor GUILabel(position, colour, text, flags)
Parameter types: VectorScreen, Colour, string, int
Memo <- null;
function Script::ScriptLoad()
{
::Memo <- GUIMemobox( VectorScreen( 1188, 670 ), VectorScreen( 90,50 ), Colour( 250, 250, 250, 100 ) ).AddLine( "[0.4]CVFRS vcmp 04rel004" ).RemoveFlags( GUI_FLAG_BACKGROUND | GUI_FLAG_BORDER );
}
PROBLEM solved by mY self
CORRECT CODE IS:-
Memo <- null;
function Script::ScriptLoad()
{
Memo <- GUIMemobox( VectorScreen( 1188, 670 ), VectorScreen( 90,50 ), Colour( 255, 100, 255));
Memo.AddLine( "[0.4]" );
Memo.AddLine( "VCMP.TDC" );
Memo.RemoveFlags( GUI_FLAG_BACKGROUND | GUI_FLAG_BORDER );
Memo.FontFlags = GUI_FFLAG_OUTLINE | GUI_FFLAG_ITALIC;
Memo.FontName = "Tahoma";
Memo.FontSize = 15;
}