Textdraw Font 4 icons crash players
#1

Theese icons crash(sometimes,not always) players. Is there anything wrong with this code?

Код:
	textRoundInfo[10] = TextDrawCreate(165.000000, 436.000000, "hud:radar_Girlfriend"); //health
	TextDrawBackgroundColor(textRoundInfo[10], 255);
	TextDrawFont(textRoundInfo[10], 4);
	TextDrawLetterSize(textRoundInfo[10], 0.500000, 1.000000);
	TextDrawColor(textRoundInfo[10], -1);
	TextDrawSetOutline(textRoundInfo[10], 0);
	TextDrawSetProportional(textRoundInfo[10], 1);
	TextDrawSetShadow(textRoundInfo[10], 1);
	TextDrawUseBox(textRoundInfo[10], 1);
	TextDrawBoxColor(textRoundInfo[10], 255);
	TextDrawTextSize(textRoundInfo[10], 9.000000, 8.000000);
	TextDrawSetSelectable(textRoundInfo[10], 0);

	textRoundInfo[11] = TextDrawCreate(455.000000, 436.000000, "hud:radar_Girlfriend");// health
	TextDrawBackgroundColor(textRoundInfo[11], 255);
	TextDrawFont(textRoundInfo[11], 4);
	TextDrawLetterSize(textRoundInfo[11], 0.500000, 1.000000);
	TextDrawColor(textRoundInfo[11], -1);
	TextDrawSetOutline(textRoundInfo[11], 0);
	TextDrawSetProportional(textRoundInfo[11], 1);
	TextDrawSetShadow(textRoundInfo[11], 1);
	TextDrawUseBox(textRoundInfo[11], 1);
	TextDrawBoxColor(textRoundInfo[11], 255);
	TextDrawTextSize(textRoundInfo[11], 9.000000, 8.000000);
	TextDrawSetSelectable(textRoundInfo[11], 0);

	textRoundInfo[12] = TextDrawCreate(268.000000, 435.000000, "ld_grav:timer"); // timer icon
	TextDrawBackgroundColor(textRoundInfo[12], 255);
	TextDrawFont(textRoundInfo[12], 4);
	TextDrawLetterSize(textRoundInfo[12], 0.500000, 1.000000);
	TextDrawColor(textRoundInfo[12], -1);
	TextDrawSetOutline(textRoundInfo[12], 0);
	TextDrawSetProportional(textRoundInfo[12], 1);
	TextDrawSetShadow(textRoundInfo[12], 1);
	TextDrawUseBox(textRoundInfo[12], 1);
	TextDrawBoxColor(textRoundInfo[12], 255);
	TextDrawTextSize(textRoundInfo[12], 11.000000, 9.000000);
	TextDrawSetSelectable(textRoundInfo[12], 0);
Reply
#2

What are you using the textdraw for?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)