Hey,
habe ein Problem mit meinen Text Draws .. Ich will die anklickbar machen, jedoch wollen die nicht
Code:
OnPlayerSpawn
Test[playerid] = CreatePlayerTextDraw(playerid,398.5 ,202 , "Test");
PlayerTextDrawFont(playerid,Test[playerid] , 3);
PlayerTextDrawLetterSize(playerid,Test[playerid] , 0.3, 2.1);
PlayerTextDrawColor(playerid,Test[playerid] , 0xff0000FF);
PlayerTextDrawSetOutline(playerid,Test[playerid] , false);
PlayerTextDrawSetProportional(playerid,Test[playerid] , true);
PlayerTextDrawSetShadow(playerid,Test[playerid] , 1);
PlayerTextDrawShow(playerid,Test[playerid]);
PlayerTextDrawSetSelectable(playerid,Test[playerid], 1);
OnPlayerClickPlayerTextDraw
if(playertextid == Test[playerid])
{
PlayerTextDrawDestroy(playerid,Test[playerid]);
SCM(playerid,Rot,"Test");
CancelSelectTextDraw(playerid);
}
Ist doch eig alles richtig?