Hallo. Ich habe ein kleines Problem. Undzwar möchte ich Player-Textdraws erstellen, welche "anklickbar" sind. Ich habe auch bereits etwas eingefügt, aber wenn ich nun klicke passiert nichts, habe auch schon OnPlayerClickPlayerTextDraw debuggen lassen.
Da passiert aber nichts. Hier meine Textdraws, die ich erstellt habe:
pTutorialDrawSkin[10][playerid] = CreatePlayerTextDraw(playerid, 370.000, 251.377, "<");
PlayerTextDrawLetterSize(playerid, pTutorialDrawSkin[10][playerid], 0.685, 2.375);
PlayerTextDrawAlignment(playerid, pTutorialDrawSkin[10][playerid], 1);
PlayerTextDrawColor(playerid, pTutorialDrawSkin[10][playerid], -1);
PlayerTextDrawSetOutline(playerid, pTutorialDrawSkin[10][playerid], 1);
PlayerTextDrawBackgroundColor(playerid, pTutorialDrawSkin[10][playerid], 51);
PlayerTextDrawFont(playerid, pTutorialDrawSkin[10][playerid], 1);
PlayerTextDrawSetProportional(playerid, pTutorialDrawSkin[10][playerid], 1);
PlayerTextDrawTextSize(playerid, pTutorialDrawSkin[10][playerid], 1337.000, 1337.000);
pTutorialDrawSkin[12][playerid] = CreatePlayerTextDraw(playerid, 532.833, 251.048, ">");
PlayerTextDrawLetterSize(playerid, pTutorialDrawSkin[12][playerid], 0.685, 2.375);
PlayerTextDrawAlignment(playerid, pTutorialDrawSkin[12][playerid], 1);
PlayerTextDrawColor(playerid, pTutorialDrawSkin[12][playerid], -1);
PlayerTextDrawSetOutline(playerid, pTutorialDrawSkin[12][playerid], 1);
PlayerTextDrawBackgroundColor(playerid, pTutorialDrawSkin[12][playerid], 51);
PlayerTextDrawFont(playerid, pTutorialDrawSkin[12][playerid], 1);
PlayerTextDrawSetProportional(playerid, pTutorialDrawSkin[12][playerid], 1);
PlayerTextDrawTextSize(playerid, pTutorialDrawSkin[12][playerid], 1337.000, 1337.000);
PlayerTextDrawSetSelectable(playerid, pTutorialDrawSkin[playerid][10], true);
PlayerTextDrawSetSelectable(playerid, pTutorialDrawSkin[playerid][12], true);
SelectTextDraw(playerid, 0xFFCC00FF);
Ich hoffe, ihr könnt mir helfen!