TextDraw problem
#1

Hey. I have code, that show for player textdraws

Код:
TextDrawShowForPlayer(playerid,PLAYER_1_CARD1);
TextDrawShowForPlayer(playerid,PLAYER_1_CARD2);
TextDrawShowForPlayer(playerid, p1usebox1);
TextDrawShowForPlayer(playerid, p1usebox2);
TextDrawShowForPlayer(playerid, p1usebox3);
TextDrawShowForPlayer(playerid, player1nick);
TextDrawShowForPlayer(playerid, player1money);
TextDrawShowForPlayer(playerid, player1turn);
It show all textdraws, but not PLAYER_1_CARD1 and PLAYER_1_CARD2... I dont know why.

Textdraw code:
Код:
PLAYER_1_CARD1 = TextDrawCreate(203.808731, 272.853393, "p1_1");
	TextDrawLetterSize(PLAYER_1_CARD1, 0.000000, 0.000000);
	TextDrawTextSize(PLAYER_1_CARD1, 27.047603, 39.253356);
	TextDrawAlignment(PLAYER_1_CARD1, 1);
	TextDrawColor(PLAYER_1_CARD1, -1);
	TextDrawSetShadow(PLAYER_1_CARD1, 0);
	TextDrawSetOutline(PLAYER_1_CARD1, 0);
	TextDrawFont(PLAYER_1_CARD1, 4);

	PLAYER_1_CARD2 = TextDrawCreate(231.094390, 273.426727, "p1_2");
	TextDrawLetterSize(PLAYER_1_CARD2, 0.000000, 0.000000);
	TextDrawTextSize(PLAYER_1_CARD2, 27.047603, 39.253356);
	TextDrawAlignment(PLAYER_1_CARD2, 1);
	TextDrawColor(PLAYER_1_CARD2, -1);
	TextDrawSetShadow(PLAYER_1_CARD2, 0);
	TextDrawSetOutline(PLAYER_1_CARD2, 0);
	TextDrawFont(PLAYER_1_CARD2, 4);
Maybe somebody know, why? Maybe somebody can help me, than PM me, I can send all code of system.
Reply


Messages In This Thread
TextDraw problem - by ,TomY' - 21.08.2018, 19:01
Re: TextDraw problem - by KinderClans - 21.08.2018, 19:04
Re: TextDraw problem - by ,TomY' - 21.08.2018, 19:07

Forum Jump:


Users browsing this thread: 2 Guest(s)