#1

hello i made textdraws using iPLEOMAX's TextDraw Editor and when i try put the textdraws in my gm they dont work here are the textdraws
Код:
new Text:Textdraw0;
new Text:Textdraw1;
new Text:Textdraw2;
new Text:Textdraw3;
new Text:Textdraw4;
new Text:Textdraw5;
new Text:Textdraw6;
new Text:Textdraw7;
new Text:Textdraw8;
new Text:Textdraw9;


Textdraw0 = TextDrawCreate(641.245300, 418.699981, "usebox");
TextDrawLetterSize(Textdraw0, 0.000000, 3.001852);
TextDrawTextSize(Textdraw0, -2.000000, 0.000000);
TextDrawAlignment(Textdraw0, 3);
TextDrawColor(Textdraw0, 0);
TextDrawUseBox(Textdraw0, true);
TextDrawBoxColor(Textdraw0, 102);
TextDrawSetShadow(Textdraw0, -69);
TextDrawSetOutline(Textdraw0, 0);
TextDrawFont(Textdraw0, 2);
TextDrawSetProportional(Textdraw0, 1);

Textdraw1 = TextDrawCreate(642.245300, 419.699981, "usebox");
TextDrawLetterSize(Textdraw1, 0.000000, 3.001852);
TextDrawTextSize(Textdraw1, -2.000000, 0.000000);
TextDrawAlignment(Textdraw1, 3);
TextDrawColor(Textdraw1, 0);
TextDrawUseBox(Textdraw1, true);
TextDrawBoxColor(Textdraw1, 102);
TextDrawSetShadow(Textdraw1, -69);
TextDrawSetOutline(Textdraw1, 0);
TextDrawFont(Textdraw1, 2);
TextDrawSetProportional(Textdraw1, 1);

Textdraw2 = TextDrawCreate(8.301892, 424.666717, "TG Freeroam");
TextDrawLetterSize(Textdraw2, 0.449999, 1.600000);
TextDrawAlignment(Textdraw2, 1);
TextDrawColor(Textdraw2, 16711935);
TextDrawSetShadow(Textdraw2, 0);
TextDrawSetOutline(Textdraw2, 1);
TextDrawBackgroundColor(Textdraw2, 51);
TextDrawFont(Textdraw2, 1);
TextDrawSetProportional(Textdraw2, 1);

Textdraw3 = TextDrawCreate(144.905624, 420.000061, "/cmds");
TextDrawLetterSize(Textdraw3, 0.320942, 2.346666);
TextDrawAlignment(Textdraw3, 1);
TextDrawColor(Textdraw3, -16776961);
TextDrawSetShadow(Textdraw3, 0);
TextDrawSetOutline(Textdraw3, 0);
TextDrawBackgroundColor(Textdraw3, 51);
TextDrawFont(Textdraw3, 1);
TextDrawSetProportional(Textdraw3, 1);

Textdraw4 = TextDrawCreate(213.075424, 421.000091, "/help");
TextDrawLetterSize(Textdraw4, 0.320942, 2.346666);
TextDrawAlignment(Textdraw4, 1);
TextDrawColor(Textdraw4, -16776961);
TextDrawSetShadow(Textdraw4, 0);
TextDrawSetOutline(Textdraw4, 0);
TextDrawBackgroundColor(Textdraw4, 51);
TextDrawFont(Textdraw4, 1);
TextDrawSetProportional(Textdraw4, 1);

Textdraw5 = TextDrawCreate(272.943420, 421.066772, "/god");
TextDrawLetterSize(Textdraw5, 0.320942, 2.346666);
TextDrawAlignment(Textdraw5, 1);
TextDrawColor(Textdraw5, -16776961);
TextDrawSetShadow(Textdraw5, 0);
TextDrawSetOutline(Textdraw5, 0);
TextDrawBackgroundColor(Textdraw5, 51);
TextDrawFont(Textdraw5, 1);
TextDrawSetProportional(Textdraw5, 1);

Textdraw6 = TextDrawCreate(333.566101, 421.133453, "/admins");
TextDrawLetterSize(Textdraw6, 0.320942, 2.346666);
TextDrawAlignment(Textdraw6, 1);
TextDrawColor(Textdraw6, -16776961);
TextDrawSetShadow(Textdraw6, 0);
TextDrawSetOutline(Textdraw6, 0);
TextDrawBackgroundColor(Textdraw6, 51);
TextDrawFont(Textdraw6, 1);
TextDrawSetProportional(Textdraw6, 1);

Textdraw7 = TextDrawCreate(404.000244, 422.133453, "/car");
TextDrawLetterSize(Textdraw7, 0.320942, 2.346666);
TextDrawAlignment(Textdraw7, 1);
TextDrawColor(Textdraw7, -16776961);
TextDrawSetShadow(Textdraw7, 0);
TextDrawSetOutline(Textdraw7, 0);
TextDrawBackgroundColor(Textdraw7, 51);
TextDrawFont(Textdraw7, 1);
TextDrawSetProportional(Textdraw7, 1);

Textdraw8 = TextDrawCreate(454.811309, 421.266815, "/credits");
TextDrawLetterSize(Textdraw8, 0.320942, 2.346666);
TextDrawAlignment(Textdraw8, 1);
TextDrawColor(Textdraw8, -16776961);
TextDrawSetShadow(Textdraw8, 0);
TextDrawSetOutline(Textdraw8, 0);
TextDrawBackgroundColor(Textdraw8, 51);
TextDrawFont(Textdraw8, 1);
TextDrawSetProportional(Textdraw8, 1);

Textdraw9 = TextDrawCreate(9.301892, 425.666717, "TG Freeroam");
TextDrawLetterSize(Textdraw9, 0.449999, 1.600000);
TextDrawAlignment(Textdraw9, 1);
TextDrawColor(Textdraw9, 16711935);
TextDrawSetShadow(Textdraw9, 0);
TextDrawSetOutline(Textdraw9, 1);
TextDrawBackgroundColor(Textdraw9, 51);
TextDrawFont(Textdraw9, 1);
TextDrawSetProportional(Textdraw9, 1);
And here is where i put them
Код:
public OnGameModeInit()
{
	SetGameModeText("Top Gods Freeroam");
	ShowPlayerMarkers(PLAYER_MARKERS_MODE_GLOBAL);
	ShowNameTags(1);
	SetNameTagDrawDistance(40.0);
	EnableStuntBonusForAll(0);
	DisableInteriorEnterExits();
	SetWeather(2);
	SetWorldTime(11);
	
	box = TextDrawCreate(641.245300, 418.699981, "usebox");
	TextDrawLetterSize(box, 0.000000, 3.001852);
	TextDrawTextSize(box, -2.000000, 0.000000);
	TextDrawAlignment(box, 3);
	TextDrawColor(box, 0);
	TextDrawUseBox(box, true);
	TextDrawBoxColor(box, 102);
	TextDrawSetShadow(box, -69);
	TextDrawSetOutline(box, 0);
	TextDrawFont(box, 2);
	TextDrawSetProportional(box, 1);

	Textdraw1 = TextDrawCreate(642.245300, 419.699981, "usebox");
	TextDrawLetterSize(Textdraw1, 0.000000, 3.001852);
	TextDrawTextSize(Textdraw1, -2.000000, 0.000000);
	TextDrawAlignment(Textdraw1, 3);
	TextDrawColor(Textdraw1, 0);
	TextDrawUseBox(Textdraw1, true);
	TextDrawBoxColor(Textdraw1, 102);
	TextDrawSetShadow(Textdraw1, -69);
	TextDrawSetOutline(Textdraw1, 0);
	TextDrawFont(Textdraw1, 2);
	TextDrawSetProportional(Textdraw1, 1);

	Textdraw2 = TextDrawCreate(8.301892, 424.666717, "TG Freeroam");
	TextDrawLetterSize(Textdraw2, 0.449999, 1.600000);
	TextDrawAlignment(Textdraw2, 1);
	TextDrawColor(Textdraw2, 16711935);
	TextDrawSetShadow(Textdraw2, 0);
	TextDrawSetOutline(Textdraw2, 1);
	TextDrawBackgroundColor(Textdraw2, 51);
	TextDrawFont(Textdraw2, 1);
	TextDrawSetProportional(Textdraw2, 1);

	Textdraw3 = TextDrawCreate(144.905624, 420.000061, "/cmds");
	TextDrawLetterSize(Textdraw3, 0.320942, 2.346666);
	TextDrawAlignment(Textdraw3, 1);
	TextDrawColor(Textdraw3, -16776961);
	TextDrawSetShadow(Textdraw3, 0);
	TextDrawSetOutline(Textdraw3, 0);
	TextDrawBackgroundColor(Textdraw3, 51);
	TextDrawFont(Textdraw3, 1);
	TextDrawSetProportional(Textdraw3, 1);

	Textdraw4 = TextDrawCreate(213.075424, 421.000091, "/help");
	TextDrawLetterSize(Textdraw4, 0.320942, 2.346666);
	TextDrawAlignment(Textdraw4, 1);
	TextDrawColor(Textdraw4, -16776961);
	TextDrawSetShadow(Textdraw4, 0);
	TextDrawSetOutline(Textdraw4, 0);
	TextDrawBackgroundColor(Textdraw4, 51);
	TextDrawFont(Textdraw4, 1);
	TextDrawSetProportional(Textdraw4, 1);

	Textdraw5 = TextDrawCreate(272.943420, 421.066772, "/god");
	TextDrawLetterSize(Textdraw5, 0.320942, 2.346666);
	TextDrawAlignment(Textdraw5, 1);
	TextDrawColor(Textdraw5, -16776961);
	TextDrawSetShadow(Textdraw5, 0);
	TextDrawSetOutline(Textdraw5, 0);
	TextDrawBackgroundColor(Textdraw5, 51);
	TextDrawFont(Textdraw5, 1);
	TextDrawSetProportional(Textdraw5, 1);

	Textdraw6 = TextDrawCreate(333.566101, 421.133453, "/admins");
	TextDrawLetterSize(Textdraw6, 0.320942, 2.346666);
	TextDrawAlignment(Textdraw6, 1);
	TextDrawColor(Textdraw6, -16776961);
	TextDrawSetShadow(Textdraw6, 0);
	TextDrawSetOutline(Textdraw6, 0);
	TextDrawBackgroundColor(Textdraw6, 51);
	TextDrawFont(Textdraw6, 1);
	TextDrawSetProportional(Textdraw6, 1);

	Textdraw7 = TextDrawCreate(404.000244, 422.133453, "/car");
	TextDrawLetterSize(Textdraw7, 0.320942, 2.346666);
	TextDrawAlignment(Textdraw7, 1);
	TextDrawColor(Textdraw7, -16776961);
	TextDrawSetShadow(Textdraw7, 0);
	TextDrawSetOutline(Textdraw7, 0);
	TextDrawBackgroundColor(Textdraw7, 51);
	TextDrawFont(Textdraw7, 1);
	TextDrawSetProportional(Textdraw7, 1);

	Textdraw8 = TextDrawCreate(454.811309, 421.266815, "/credits");
	TextDrawLetterSize(Textdraw8, 0.320942, 2.346666);
	TextDrawAlignment(Textdraw8, 1);
	TextDrawColor(Textdraw8, -16776961);
	TextDrawSetShadow(Textdraw8, 0);
	TextDrawSetOutline(Textdraw8, 0);
	TextDrawBackgroundColor(Textdraw8, 51);
	TextDrawFont(Textdraw8, 1);
	TextDrawSetProportional(Textdraw8, 1);

	Textdraw9 = TextDrawCreate(9.301892, 425.666717, "TG Freeroam");
	TextDrawLetterSize(Textdraw9, 0.449999, 1.600000);
	TextDrawAlignment(Textdraw9, 1);
	TextDrawColor(Textdraw9, 16711935);
	TextDrawSetShadow(Textdraw9, 0);
	TextDrawSetOutline(Textdraw9, 1);
	TextDrawBackgroundColor(Textdraw9, 51);
	TextDrawFont(Textdraw9, 1);
	TextDrawSetProportional(Textdraw9, 1);
Reply


Messages In This Thread
help - by Mckarlis - 05.03.2014, 19:36
Re: help - by Mckarlis - 05.03.2014, 20:05
Re: help - by Mckarlis - 06.03.2014, 18:48
Re: help - by BKarner - 06.03.2014, 18:55
Re : help - by Clad - 06.03.2014, 18:57
Re: help - by Mckarlis - 06.03.2014, 19:06
Re: help - by Mckarlis - 06.03.2014, 19:44
Re: help - by kamiliuxliuxliux - 06.03.2014, 19:47
Re: help - by CutX - 06.03.2014, 20:02
Re: help - by Mckarlis - 06.03.2014, 21:13

Forum Jump:


Users browsing this thread: 1 Guest(s)