21.08.2018, 19:01
Hey. I have code, that show for player textdraws
It show all textdraws, but not PLAYER_1_CARD1 and PLAYER_1_CARD2... I dont know why.
Textdraw code:
Maybe somebody know, why? Maybe somebody can help me, than PM me, I can send all code of system.
Код:
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);
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);