Hallo Community,
irgendwie lässt sich emin Textdraw nicht anklicken, also diese menüpunkte credits login usw....
hier ist mein code:
public LoginFenster(playerid)
{
LBox1[playerid] = TextDrawCreate(25.000000, 51.000000,"_");
TextDrawUseBox(LBox1[playerid],1);
TextDrawBoxColor(LBox1[playerid],110);
TextDrawTextSize(LBox1[playerid],141.000000, 0.000000);
TextDrawAlignment(LBox1[playerid],0);
TextDrawBackgroundColor(LBox1[playerid],255);
TextDrawFont(LBox1[playerid],1);
TextDrawLetterSize(LBox1[playerid],1.800000, 30.000000);
TextDrawSetOutline(LBox1[playerid],1);
TextDrawSetProportional(LBox1[playerid],1);
TextDrawSetShadow(LBox1[playerid],1);
TextDrawSetSelectable(LBox1[playerid], false);
LBox2[playerid] = TextDrawCreate(30.000000, 57.000000,"_");
TextDrawUseBox(LBox2[playerid],1);
TextDrawBoxColor(LBox2[playerid],110);
TextDrawTextSize(LBox2[playerid],136.000000, 0.000000);
TextDrawAlignment(LBox2[playerid],0);
TextDrawBackgroundColor(LBox2[playerid],255);
TextDrawFont(LBox2[playerid],1);
TextDrawLetterSize(LBox2[playerid],0.500000, 28.400001);
TextDrawSetOutline(LBox2[playerid],1);
TextDrawSetProportional(LBox2[playerid],1);
TextDrawSetShadow(LBox2[playerid],1);
TextDrawSetSelectable(LBox2[playerid], false);
Einloggen[playerid] = TextDrawCreate(35.000000, 92.000000,"Einloggen/Registrieren");
TextDrawUseBox(Einloggen[playerid],0);
TextDrawBoxColor(Einloggen[playerid],110);
TextDrawTextSize(Einloggen[playerid],135.000000, 0.0);
TextDrawAlignment(Einloggen[playerid],0);
TextDrawBackgroundColor(Einloggen[playerid],255);
TextDrawFont(Einloggen[playerid],1);
TextDrawLetterSize(Einloggen[playerid],0.269999, 1.899999);
TextDrawSetOutline(Einloggen[playerid],0);
TextDrawSetProportional(Einloggen[playerid],1);
TextDrawSetShadow(Einloggen[playerid],0);
TextDrawSetSelectable(Einloggen[playerid], true);
Infos[playerid] = TextDrawCreate(52.000000, 137.000000,"Informationen");
TextDrawUseBox(Infos[playerid],0);
TextDrawBoxColor(Infos[playerid],110);
TextDrawTextSize(Infos[playerid],115, 0.0);
TextDrawAlignment(Infos[playerid],0);
TextDrawBackgroundColor(Infos[playerid],255);
TextDrawFont(Infos[playerid],1);
TextDrawLetterSize(Infos[playerid],0.269899, 1.899899);
TextDrawSetOutline(Infos[playerid],0);
TextDrawSetProportional(Infos[playerid],1);
TextDrawSetShadow(Infos[playerid],0);
TextDrawSetSelectable(Infos[playerid], true);
Credits[playerid] = TextDrawCreate(67.000000, 185.000000,"Credits");
TextDrawUseBox(Credits[playerid],0);
TextDrawBoxColor(Credits[playerid],110);
TextDrawTextSize(Credits[playerid],100, 0.0);
TextDrawAlignment(Credits[playerid],0);
TextDrawBackgroundColor(Credits[playerid],255);
TextDrawFont(Credits[playerid],1);
TextDrawLetterSize(Credits[playerid],0.269899, 1.899899);
TextDrawSetOutline(Credits[playerid],0);
TextDrawSetProportional(Credits[playerid],1);
TextDrawSetShadow(Credits[playerid],0);
TextDrawSetSelectable(Credits[playerid], true);
Vergessen[playerid] = TextDrawCreate(40.000000, 237.000000,"Passwort vergessen");
TextDrawUseBox(Vergessen[playerid],0);
TextDrawBoxColor(Vergessen[playerid],110);
TextDrawTextSize(Vergessen[playerid],129, 0.0);
TextDrawAlignment(Vergessen[playerid],0);
TextDrawBackgroundColor(Vergessen[playerid],255);
TextDrawFont(Vergessen[playerid],1);
TextDrawLetterSize(Vergessen[playerid],0.269899, 1.899899);
TextDrawSetOutline(Vergessen[playerid],0);
TextDrawSetProportional(Vergessen[playerid],1);
TextDrawSetShadow(Vergessen[playerid],0);
TextDrawSetSelectable(Vergessen[playerid], true);
TextDrawShowForPlayer(playerid,LBox1[playerid]);
TextDrawShowForPlayer(playerid,LBox2[playerid]);
TextDrawShowForPlayer(playerid,Einloggen[playerid]);
TextDrawShowForPlayer(playerid,Infos[playerid]);
TextDrawShowForPlayer(playerid,Credits[playerid]);
TextDrawShowForPlayer(playerid,Vergessen[playerid]);
SelectTextDraw(playerid, 0x009BFFFF);
return 1;
}
Mit freundlichen Grüßen
McGarrett