09.05.2014, 21:49
Hey everyone,
When i created the TD, and make him a clickable, it's not work.
I make a little search, and i saw that i need to make TextDrawTextSize, but i don't know the coordinates.
Thanks for helping.
When i created the TD, and make him a clickable, it's not work.
Код:
GLOBAL_TD[14] = TextDrawCreate(550.000000, 136.000000, "YES"); TextDrawBackgroundColor(GLOBAL_TD[14], 255); TextDrawFont(GLOBAL_TD[14], 3); TextDrawLetterSize(GLOBAL_TD[14], 0.340000, 1.300000); TextDrawColor(GLOBAL_TD[14], 65535); TextDrawSetOutline(GLOBAL_TD[14], 0); TextDrawSetProportional(GLOBAL_TD[14], 0); TextDrawSetShadow(GLOBAL_TD[14], 1); TextDrawSetSelectable(GLOBAL_TD[14], true); GLOBAL_TD[15] = TextDrawCreate(589.000000, 136.000000, "NO"); TextDrawBackgroundColor(GLOBAL_TD[15], 255); TextDrawFont(GLOBAL_TD[15], 3); TextDrawLetterSize(GLOBAL_TD[15], 0.340000, 1.300000); TextDrawColor(GLOBAL_TD[15], -16776961); TextDrawSetOutline(GLOBAL_TD[15], 0); TextDrawSetProportional(GLOBAL_TD[15], 0); TextDrawSetShadow(GLOBAL_TD[15], 1); TextDrawSetSelectable(GLOBAL_TD[15], true);
Thanks for helping.