24.06.2015, 09:50
Hi guys,
I have a problem, I don't know how to set TextDrawSize. My textdraw is
And I tried with this code but it doesn't work
I set numbers of PlayerTextDrawLetterSize in TextDrawSize. And also I don't know how to set TDSize for center and right alignment
Can You help me? Thanks a lot
I have a problem, I don't know how to set TextDrawSize. My textdraw is
Код:
_HRP_OOCTDSignUp[playerid][true] = CreatePlayerTextDraw(playerid, 152.333297, 114.640350, "Zaporka"); PlayerTextDrawLetterSize(playerid, _HRP_OOCTDSignUp[playerid][true], 0.313333, 1.317927); PlayerTextDrawAlignment(playerid, _HRP_OOCTDSignUp[playerid][true], 1); PlayerTextDrawColor(playerid, _HRP_OOCTDSignUp[playerid][true], -1378294017); PlayerTextDrawSetShadow(playerid, _HRP_OOCTDSignUp[playerid][true], 0); PlayerTextDrawSetOutline(playerid, _HRP_OOCTDSignUp[playerid][true], 0); PlayerTextDrawBackgroundColor(playerid, _HRP_OOCTDSignUp[playerid][true], 255); PlayerTextDrawFont(playerid, _HRP_OOCTDSignUp[playerid][true], 1); PlayerTextDrawSetProportional(playerid, _HRP_OOCTDSignUp[playerid][true], 1); PlayerTextDrawSetSelectable(playerid, _HRP_OOCTDSignUp[playerid][true], true); PlayerTextDrawTextSize(playerid, _HRP_OOCTDSignUp[playerid][true], 0.313333, 1.317927);
Код:
PlayerTextDrawShow(playerid, _HRP_OOCTDSignUp[playerid][true]); SelectTextDraw(playerid, 0x00FF00FF);
Can You help me? Thanks a lot