23.04.2012, 13:40
About the norm I've seen is 2, 3.5; 2 being the X, 3.5 being the Y (height), I've tried that - and it bugs out the text size. it confuses the living hell out of me.
For example;
Creates the same problem as if I didn't define the TextSize in the first place, and "Login" becomes completely unselectable.
For example;
pawn Code:
startup1 = TextDrawCreate(500.000000, 120.000000, "Login");
TextDrawBackgroundColor(startup1, 255);
TextDrawFont(startup1, 3);
TextDrawLetterSize(startup1, 0.500000, 1.000000);
TextDrawColor(startup1, -1);
TextDrawSetOutline(startup1, 1);
TextDrawSetProportional(startup1, 1);
TextDrawSetSelectable(startup1, true);
TextDrawTextSize(startup1, 2.0, 3.5);
startup2 = TextDrawCreate(500.000000, 150.000000, "Register");
TextDrawBackgroundColor(startup2, 255);
TextDrawFont(startup2, 3);
TextDrawLetterSize(startup2, 0.500000, 1.000000);
TextDrawColor(startup2, -1);
TextDrawSetOutline(startup2, 1);
TextDrawSetProportional(startup2, 1);
TextDrawSetSelectable(startup2, true);
TextDrawTextSize(startup1, 2.0, 3.5);
startup4 = TextDrawCreate(563.000000, 203.000000, "-/-");
TextDrawBackgroundColor(startup4, 255);
TextDrawFont(startup4, 3);
TextDrawLetterSize(startup4, 0.500000, 1.000000);
TextDrawColor(startup4, -1);
TextDrawSetOutline(startup4, 1);
TextDrawSetProportional(startup4, 1);
TextDrawSetSelectable(startup4, true);
TextDrawTextSize(startup1, 2.0, 3.5);
startup5 = TextDrawCreate(500.000000, 180.000000, "Information");
TextDrawBackgroundColor(startup5, 255);
TextDrawFont(startup5, 3);
TextDrawLetterSize(startup5, 0.500000, 1.000000);
TextDrawColor(startup5, -1);
TextDrawSetOutline(startup5, 1);
TextDrawSetProportional(startup5, 1);
TextDrawSetSelectable(startup5, true);
TextDrawTextSize(startup1, 2.0, 3.5);