10.02.2013, 17:17
Hello, I have a problem in my TextDraw, created the TextDraw but has problems when I select some to be clickable. The total would be 8 TextDraw clickable but two of them are not clickable. What could it be?
Codes TextDraw:
These appear as two clickable.
These two appear not clickable.
If anyone can help me, thank you!
Codes TextDraw:
These appear as two clickable.
pawn Код:
veiculo_cor1[i][1] = TextDrawCreate(361.000000, 387.000000, "Proximo");
TextDrawBackgroundColor(veiculo_cor1[i][1], 255);
TextDrawFont(veiculo_cor1[i][1], 1);
TextDrawLetterSize(veiculo_cor1[i][1], 0.280000, 1.499999);
TextDrawColor(veiculo_cor1[i][1], -1);
TextDrawSetOutline(veiculo_cor1[i][1], 1);
TextDrawSetProportional(veiculo_cor1[i][1], 1);
TextDrawUseBox(veiculo_cor1[i][1], 1);
TextDrawBoxColor(veiculo_cor1[i][1], 0);
TextDrawTextSize(veiculo_cor1[i][1], 320.000000, 20.000000);
TextDrawSetSelectable(veiculo_cor1[i][1], true);
veiculo_cor2[i][1] = TextDrawCreate(361.000000, 410.000000, "Proximo");
TextDrawBackgroundColor(veiculo_cor2[i][1], 255);
TextDrawFont(veiculo_cor2[i][1], 1);
TextDrawLetterSize(veiculo_cor2[i][1], 0.280000, 1.499999);
TextDrawColor(veiculo_cor2[i][1], -1);
TextDrawSetOutline(veiculo_cor2[i][1], 1);
TextDrawSetProportional(veiculo_cor2[i][1], 1);
TextDrawUseBox(veiculo_cor2[i][1], 1);
TextDrawBoxColor(veiculo_cor2[i][1], 0);
TextDrawTextSize(veiculo_cor2[i][1], 320.000000, 20.000000);
TextDrawSetSelectable(veiculo_cor2[i][1], true);
These two appear not clickable.
pawn Код:
veiculo_cor1[i][0] = TextDrawCreate(281.000000, 387.000000, "Anterior");
TextDrawBackgroundColor(veiculo_cor1[i][0], 255);
TextDrawFont(veiculo_cor1[i][0], 1);
TextDrawLetterSize(veiculo_cor1[i][0], 0.280000, 1.499999);
TextDrawColor(veiculo_cor1[i][0], -1);
TextDrawSetOutline(veiculo_cor1[i][0], 1);
TextDrawSetProportional(veiculo_cor1[i][0], 1);
TextDrawUseBox(veiculo_cor1[i][0], 1);
TextDrawBoxColor(veiculo_cor1[i][0], 0);
TextDrawTextSize(veiculo_cor1[i][0], 320.000000, 20.000000);
TextDrawSetSelectable(veiculo_cor1[i][0], true);
veiculo_cor2[i][0] = TextDrawCreate(282.000000, 410.000000, "Anterior");
TextDrawBackgroundColor(veiculo_cor2[i][0], 255);
TextDrawFont(veiculo_cor2[i][0], 1);
TextDrawLetterSize(veiculo_cor2[i][0], 0.280000, 1.499999);
TextDrawColor(veiculo_cor2[i][0], -1);
TextDrawSetOutline(veiculo_cor2[i][0], 1);
TextDrawSetProportional(veiculo_cor2[i][0], 1);
TextDrawUseBox(veiculo_cor2[i][0], 1);
TextDrawBoxColor(veiculo_cor2[i][0], 0);
TextDrawTextSize(veiculo_cor2[i][0], 320.000000, 20.000000);
TextDrawSetSelectable(veiculo_cor2[i][0], true);