Guten Morgen
Ich bräuchte mal eure Hilfe im Thema Textdraws, da Ich sogut wie noch gar nicht mit der Berechnung von der Funktion PlayerTextDrawTextSize beschäftigt habe und würde dann daher gerne von euch wissen wie man das ganze berechnen muss damit man den plausiblen Wert bekommt!
Nur die Textdraws die Selectable sind:
Code
SP_CRequestTD[playerid][2] = CreatePlayerTextDraw(playerid, 604.392272, 295.166564, "-~n~-~n~-");
PlayerTextDrawLetterSize(playerid, SP_CRequestTD[playerid][2], 0.803262, 0.328333);
PlayerTextDrawAlignment(playerid, SP_CRequestTD[playerid][2], 1);
PlayerTextDrawColor(playerid, SP_CRequestTD[playerid][2], -5963521);
PlayerTextDrawSetShadow(playerid, SP_CRequestTD[playerid][2], 0);
PlayerTextDrawSetOutline(playerid, SP_CRequestTD[playerid][2], 1);
PlayerTextDrawBackgroundColor(playerid, SP_CRequestTD[playerid][2], 51);
PlayerTextDrawFont(playerid, SP_CRequestTD[playerid][2], 1);
PlayerTextDrawSetProportional(playerid, SP_CRequestTD[playerid][2], 1);
PlayerTextDrawTextSize(playerid, SP_CRequestTD[playerid][2], ..., ...); // Vorgefertigt
PlayerTextDrawSetSelectable(playerid, SP_CRequestTD[playerid][2], true);
SP_CRequestTD[playerid][3] = CreatePlayerTextDraw(playerid, 626.881347, 153.416763, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, SP_CRequestTD[playerid][3], -0.034202, 0.104999);
PlayerTextDrawTextSize(playerid, SP_CRequestTD[playerid][3], 0.937101, 16.916687);
PlayerTextDrawAlignment(playerid, SP_CRequestTD[playerid][3], 1);
PlayerTextDrawColor(playerid, SP_CRequestTD[playerid][3], 255);
PlayerTextDrawSetShadow(playerid, SP_CRequestTD[playerid][3], 0);
PlayerTextDrawSetOutline(playerid, SP_CRequestTD[playerid][3], 0);
PlayerTextDrawFont(playerid, SP_CRequestTD[playerid][3], 4);
PlayerTextDrawTextSize(playerid, SP_CRequestTD[playerid][3], ..., ...); // Vorgefertigt
PlayerTextDrawSetSelectable(playerid, SP_CRequestTD[playerid][3], true);
SP_CRequestTD[playerid][5] = CreatePlayerTextDraw(playerid, 550.512512, 292.833374, "<");
PlayerTextDrawLetterSize(playerid, SP_CRequestTD[playerid][5], 0.449530, 1.442497);
PlayerTextDrawAlignment(playerid, SP_CRequestTD[playerid][5], 1);
PlayerTextDrawColor(playerid, SP_CRequestTD[playerid][5], -5963521);
PlayerTextDrawSetShadow(playerid, SP_CRequestTD[playerid][5], 0);
PlayerTextDrawSetOutline(playerid, SP_CRequestTD[playerid][5], 1);
PlayerTextDrawBackgroundColor(playerid, SP_CRequestTD[playerid][5], 51);
PlayerTextDrawFont(playerid, SP_CRequestTD[playerid][5], 1);
PlayerTextDrawSetProportional(playerid, SP_CRequestTD[playerid][5], 1);
PlayerTextDrawTextSize(playerid, SP_CRequestTD[playerid][5], ..., ...); // Vorgefertigt
PlayerTextDrawSetSelectable(playerid, SP_CRequestTD[playerid][5], true);
SP_CRequestTD[playerid][10] = CreatePlayerTextDraw(playerid, 546.295898, 154.583374, "~<~News");
PlayerTextDrawLetterSize(playerid, SP_CRequestTD[playerid][10], 0.216205, 0.806666);
PlayerTextDrawAlignment(playerid, SP_CRequestTD[playerid][10], 1);
PlayerTextDrawColor(playerid, SP_CRequestTD[playerid][10], -1);
PlayerTextDrawSetShadow(playerid, SP_CRequestTD[playerid][10], 0);
PlayerTextDrawSetOutline(playerid, SP_CRequestTD[playerid][10], 1);
PlayerTextDrawBackgroundColor(playerid, SP_CRequestTD[playerid][10], 51);
PlayerTextDrawFont(playerid, SP_CRequestTD[playerid][10], 1);
PlayerTextDrawSetProportional(playerid, SP_CRequestTD[playerid][10], 1);
PlayerTextDrawTextSize(playerid, SP_CRequestTD[playerid][10], ..., ...); // Vorgefertigt
PlayerTextDrawSetSelectable(playerid, SP_CRequestTD[playerid][10], true);
SP_CRequestTD[playerid][12] = CreatePlayerTextDraw(playerid, 561.756774, 293.416778, "LD_BEAT:cring");
PlayerTextDrawLetterSize(playerid, SP_CRequestTD[playerid][12], 0.002809, -0.029164);
PlayerTextDrawTextSize(playerid, SP_CRequestTD[playerid][12], 43.572479, 12.249974);
PlayerTextDrawAlignment(playerid, SP_CRequestTD[playerid][12], 1);
PlayerTextDrawColor(playerid, SP_CRequestTD[playerid][12], -5963521);
PlayerTextDrawSetShadow(playerid, SP_CRequestTD[playerid][12], 0);
PlayerTextDrawSetOutline(playerid, SP_CRequestTD[playerid][12], 0);
PlayerTextDrawFont(playerid, SP_CRequestTD[playerid][12], 4);
PlayerTextDrawTextSize(playerid, SP_CRequestTD[playerid][12], ..., ...); // Vorgefertigt
PlayerTextDrawSetSelectable(playerid, SP_CRequestTD[playerid][12], true);
SP_CRequestTD[playerid][16] = CreatePlayerTextDraw(playerid, 548.638244, 279.999969, "Annehmen");
PlayerTextDrawLetterSize(playerid, SP_CRequestTD[playerid][16], 0.137494, 0.975832);
PlayerTextDrawAlignment(playerid, SP_CRequestTD[playerid][16], 1);
PlayerTextDrawColor(playerid, SP_CRequestTD[playerid][16], 255);
PlayerTextDrawSetShadow(playerid, SP_CRequestTD[playerid][16], 0);
PlayerTextDrawSetOutline(playerid, SP_CRequestTD[playerid][16], 1);
PlayerTextDrawBackgroundColor(playerid, SP_CRequestTD[playerid][16], -1);
PlayerTextDrawFont(playerid, SP_CRequestTD[playerid][16], 1);
PlayerTextDrawSetProportional(playerid, SP_CRequestTD[playerid][16], 1);
PlayerTextDrawTextSize(playerid, SP_CRequestTD[playerid][16], ..., ...); // Vorgefertigt
PlayerTextDrawSetSelectable(playerid, SP_CRequestTD[playerid][16], true);
SP_CRequestTD[playerid][17] = CreatePlayerTextDraw(playerid, 597.833129, 280.000000, "Ablehnen");
PlayerTextDrawLetterSize(playerid, SP_CRequestTD[playerid][17], 0.137493, 0.975831);
PlayerTextDrawAlignment(playerid, SP_CRequestTD[playerid][17], 1);
PlayerTextDrawColor(playerid, SP_CRequestTD[playerid][17], 255);
PlayerTextDrawSetShadow(playerid, SP_CRequestTD[playerid][17], 0);
PlayerTextDrawSetOutline(playerid, SP_CRequestTD[playerid][17], 1);
PlayerTextDrawBackgroundColor(playerid, SP_CRequestTD[playerid][17], -1);
PlayerTextDrawFont(playerid, SP_CRequestTD[playerid][17], 1);
PlayerTextDrawSetProportional(playerid, SP_CRequestTD[playerid][17], 1);
PlayerTextDrawTextSize(playerid, SP_CRequestTD[playerid][17], ..., ...); // Vorgefertigt
PlayerTextDrawSetSelectable(playerid, SP_CRequestTD[playerid][17], true);
Alles anzeigen