sexo_draw[13] = TextDrawCreate(220.000000, 260.000000, "masculino");
TextDrawBackgroundColor(sexo_draw[13], 255);
TextDrawFont(sexo_draw[13], 2);
TextDrawLetterSize(sexo_draw[13], 0.310000, 1.000000);
TextDrawColor(sexo_draw[13], -1);
TextDrawSetOutline(sexo_draw[13], 0);
TextDrawSetProportional(sexo_draw[13], 1);
TextDrawSetShadow(sexo_draw[13], 0);
TextDrawUseBox(sexo_draw[13], 1);
TextDrawBoxColor(sexo_draw[13], 0);
TextDrawTextSize(sexo_draw[13], 290.000000, 10.000000);
TextDrawSetSelectable(sexo_draw[13], 0);
sexo_draw[14] = TextDrawCreate(345.000000, 260.000000, "feminino");
TextDrawBackgroundColor(sexo_draw[14], 255);
TextDrawFont(sexo_draw[14], 2);
TextDrawLetterSize(sexo_draw[14], 0.310000, 1.000000);
TextDrawColor(sexo_draw[14], -1);
TextDrawSetOutline(sexo_draw[14], 0);
TextDrawSetProportional(sexo_draw[14], 1);
TextDrawSetShadow(sexo_draw[14], 0);
TextDrawUseBox(sexo_draw[14], 1);
TextDrawBoxColor(sexo_draw[14], 0);
TextDrawTextSize(sexo_draw[14], 404.000000, 10.000000);
TextDrawSetSelectable(sexo_draw[14], 0);
for(new i = 13; i < sizeof(sexo_draw); i++) { TextDrawSetSelectable(sexo_draw[i], true); }
sexo_draw[13] = TextDrawCreate(220.000000, 260.000000, "masculino"); TextDrawBackgroundColor(sexo_draw[13], 255); TextDrawFont(sexo_draw[13], 2); TextDrawLetterSize(sexo_draw[13], 0.310000, 1.000000); TextDrawColor(sexo_draw[13], -1); TextDrawSetOutline(sexo_draw[13], 0); TextDrawSetProportional(sexo_draw[13], 1); TextDrawSetShadow(sexo_draw[13], 0); TextDrawUseBox(sexo_draw[13], 1); TextDrawBoxColor(sexo_draw[13], 0); TextDrawTextSize(sexo_draw[13], 290.000000, 10.000000); TextDrawSetSelectable(sexo_draw[13], 1); sexo_draw[14] = TextDrawCreate(345.000000, 260.000000, "feminino"); TextDrawBackgroundColor(sexo_draw[14], 255); TextDrawFont(sexo_draw[14], 2); TextDrawLetterSize(sexo_draw[14], 0.310000, 1.000000); TextDrawColor(sexo_draw[14], -1); TextDrawSetOutline(sexo_draw[14], 0); TextDrawSetProportional(sexo_draw[14], 1); TextDrawSetShadow(sexo_draw[14], 0); TextDrawUseBox(sexo_draw[14], 1); TextDrawBoxColor(sexo_draw[14], 0); TextDrawTextSize(sexo_draw[14], 404.000000, 10.000000); TextDrawSetSelectable(sexo_draw[14], 1); |
Tente:
pawn Код:
|
Experimenta fazer o que ele disse, e use SelectTextDraw para poder deixar clicбvel. E use OnPlayerClickTextDraw para fazer as funзхes.
|