04.01.2016, 22:56
This is my code for the X. In the video you see that when I mouse over the X it has a massive range of where it can be clicked. How do I reduce this?
https://*********/wFGi_9Bcaec
https://*********/wFGi_9Bcaec
Код:
Dashboard_TDE[playerid][3] = CreatePlayerTextDraw(playerid, 490.399841, 81.692527, "X"); PlayerTextDrawLetterSize(playerid, Dashboard_TDE[playerid][3], 0.400000, 1.600000); PlayerTextDrawAlignment(playerid, Dashboard_TDE[playerid][3], 1); PlayerTextDrawColor(playerid, Dashboard_TDE[playerid][3], -1); PlayerTextDrawSetShadow(playerid, Dashboard_TDE[playerid][3], 0); PlayerTextDrawSetOutline(playerid, Dashboard_TDE[playerid][3], 0); PlayerTextDrawBackgroundColor(playerid, Dashboard_TDE[playerid][3], 255); PlayerTextDrawFont(playerid, Dashboard_TDE[playerid][3], 1); PlayerTextDrawSetProportional(playerid, Dashboard_TDE[playerid][3], 1); PlayerTextDrawSetShadow(playerid, Dashboard_TDE[playerid][3], 0); PlayerTextDrawSetSelectable(playerid, Dashboard_TDE[playerid][3], true);