19.03.2017, 12:46
Hi, I created some textdraws, but when I show them they don't look like what they are supposed to be.
This is what it looks like: https://gyazo.com/d4ad6f78b0cff84d06cc07def3d664f9
But this is what it's supposed to look like: https://gyazo.com/5c6731a7fcd0aa21e0cb523e62c1e31c
This is how I create them:
That "BOMBSITE A" textdraw is a player textdraw though and it works properly, but the other 3 global textdraws don't. What's up here?
This is what it looks like: https://gyazo.com/d4ad6f78b0cff84d06cc07def3d664f9
But this is what it's supposed to look like: https://gyazo.com/5c6731a7fcd0aa21e0cb523e62c1e31c
This is how I create them:
Код:
g_Textdraw[29] = TextDrawCreate(487.000000, 148.560089, "_"); TextDrawLetterSize(g_Textdraw[29], 0.000000, 8.449995); TextDrawTextSize(g_Textdraw[29], 620.000000, 0.000000); TextDrawAlignment(g_Textdraw[29], 1); TextDrawColor(g_Textdraw[29], -1); TextDrawUseBox(g_Textdraw[29], 1); TextDrawBoxColor(g_Textdraw[29], 125); TextDrawSetShadow(g_Textdraw[29], 0); TextDrawSetOutline(g_Textdraw[29], 0); TextDrawBackgroundColor(g_Textdraw[29], 255); TextDrawFont(g_Textdraw[29], 1); TextDrawSetProportional(g_Textdraw[29], 1); TextDrawSetShadow(g_Textdraw[29], 0); g_Textdraw[30] = TextDrawCreate(498.000000, 182.719985, "CROUCH AND HOLD N"); TextDrawLetterSize(g_Textdraw[30], 0.309500, 1.409600); TextDrawAlignment(g_Textdraw[30], 1); TextDrawColor(g_Textdraw[30], -1); TextDrawSetShadow(g_Textdraw[30], 0); TextDrawSetOutline(g_Textdraw[30], 0); TextDrawBackgroundColor(g_Textdraw[30], 255); TextDrawFont(g_Textdraw[30], 1); TextDrawSetProportional(g_Textdraw[30], 1); TextDrawSetShadow(g_Textdraw[30], 0); g_Textdraw[31] = TextDrawCreate(498.500000, 200.079956, "TO PLANT THE BOMB."); TextDrawLetterSize(g_Textdraw[31], 0.309500, 1.409600); TextDrawAlignment(g_Textdraw[31], 1); TextDrawColor(g_Textdraw[31], -1); TextDrawSetShadow(g_Textdraw[31], 0); TextDrawSetOutline(g_Textdraw[31], 0); TextDrawBackgroundColor(g_Textdraw[31], 255); TextDrawFont(g_Textdraw[31], 1); TextDrawSetProportional(g_Textdraw[31], 1); TextDrawSetShadow(g_Textdraw[31], 0);