Hallo Community,
ich habe mein Textdraw anklickbar gemacht, aber es passiert einfach nichts!
imkaufen[playerid] = TextDrawCreate(22.000000,180.000000,"Kaufen");
TextDrawAlignment(imkaufen[playerid],0);
TextDrawBackgroundColor(imkaufen[playerid],0x000000ff);
TextDrawFont(imkaufen[playerid],1);
TextDrawTextSize(imkaufen[playerid],54.000000, -1.000000);
TextDrawLetterSize(imkaufen[playerid],0.280000,1.000000);
TextDrawColor(imkaufen[playerid],0x00BE00FF);
TextDrawSetOutline(imkaufen[playerid],0);
TextDrawSetProportional(imkaufen[playerid],1);
TextDrawSetShadow(imkaufen[playerid],1);
TextDrawSetSelectable(imkaufen[playerid],true);
imabbrechen[playerid] = TextDrawCreate(92.000000,180.000000,"Abbrechen");
TextDrawAlignment(imabbrechen[playerid],0);
TextDrawBackgroundColor(imabbrechen[playerid],0x000000ff);
TextDrawFont(imabbrechen[playerid],1);
TextDrawTextSize(imabbrechen[playerid],139.000000, 0.000000);
TextDrawLetterSize(imabbrechen[playerid],0.280000,1.000000);
TextDrawColor(imabbrechen[playerid],0xAF0000FF);
TextDrawSetOutline(imabbrechen[playerid],0);
TextDrawSetProportional(imabbrechen[playerid],1);
TextDrawSetShadow(imabbrechen[playerid],1);
TextDrawSetSelectable(imabbrechen[playerid],true);
TextDrawShowForPlayer(playerid,IBox1[playerid]);
TextDrawShowForPlayer(playerid,IBox2[playerid]);
TextDrawShowForPlayer(playerid,Uberimo[playerid]);
TextDrawShowForPlayer(playerid,Text1[playerid]);
TextDrawShowForPlayer(playerid,Text2[playerid]);
TextDrawShowForPlayer(playerid,imkaufen[playerid]);
TextDrawShowForPlayer(playerid,imabbrechen[playerid]);
SelectTextDraw(playerid, 0xBEBEBEFF);
Nicht wenn man drüber fährt, noch wenn man drauf klickt... habe extra einen Text gemacht beim anklicken...
Mfg
//edit fehlt irgendwas am code oder so?