24.04.2014, 10:34
Hey,
I've got a problem. Every time when I create a textdraw with a model preview, it closes instantly after I use PlayerTextDrawShow. This happens to all textdraws with a preview model on it. What wrong with my code ?
What am I doing wrong ?
I've got a problem. Every time when I create a textdraw with a model preview, it closes instantly after I use PlayerTextDrawShow. This happens to all textdraws with a preview model on it. What wrong with my code ?
Код:
SelectPilot[playerid] = CreatePlayerTextDraw(playerid, 124.285720, 173.446670, "usebox"); PlayerTextDrawLetterSize(playerid, SelectPilot[playerid], 0.000000, 15.375185); PlayerTextDrawTextSize(playerid, SelectPilot[playerid], 38.000000, 0.000000); PlayerTextDrawAlignment(playerid, SelectPilot[playerid], 1); PlayerTextDrawColor(playerid, SelectPilot[playerid], 0); PlayerTextDrawBackgroundColor(playerid, SelectPilot[playerid], 102); PlayerTextDrawFont(playerid, SelectPilot[playerid], 5); PlayerTextDrawUseBox(playerid, SelectPilot[playerid], true); PlayerTextDrawBoxColor(playerid, SelectPilot[playerid], 102); PlayerTextDrawSetShadow(playerid, SelectPilot[playerid], 0); PlayerTextDrawSetOutline(playerid, SelectPilot[playerid], 0); PlayerTextDrawSetPreviewModel(playerid,SelectPilot[playerid], 71);