InvScrollDown[0][playerid] = CreatePlayerTextDraw(playerid, 616.573852, 389.083251, "hud:radar_centre"); PlayerTextDrawLetterSize(playerid, InvScrollDown[0][playerid], 0.000000, 0.000000); PlayerTextDrawTextSize(playerid, InvScrollDown[0][playerid], 8.433380, 20.999986); PlayerTextDrawAlignment(playerid, InvScrollDown[0][playerid], 1); PlayerTextDrawColor(playerid, InvScrollDown[0][playerid], -1); PlayerTextDrawSetShadow(playerid, InvScrollDown[0][playerid], 0); PlayerTextDrawSetOutline(playerid, InvScrollDown[0][playerid], 0); PlayerTextDrawFont(playerid, InvScrollDown[0][playerid], 4); PlayerTextDrawSetPreviewRot(playerid, InvScrollDown[0][playerid], 0.0, 0.0, 90.0, 0.0);
Код:
InvScrollDown[0][playerid] = CreatePlayerTextDraw(playerid, 616.573852, 389.083251, "hud:radar_centre"); PlayerTextDrawLetterSize(playerid, InvScrollDown[0][playerid], 0.000000, 0.000000); PlayerTextDrawTextSize(playerid, InvScrollDown[0][playerid], 8.433380, 20.999986); PlayerTextDrawAlignment(playerid, InvScrollDown[0][playerid], 1); PlayerTextDrawColor(playerid, InvScrollDown[0][playerid], -1); PlayerTextDrawSetShadow(playerid, InvScrollDown[0][playerid], 0); PlayerTextDrawSetOutline(playerid, InvScrollDown[0][playerid], 0); PlayerTextDrawFont(playerid, InvScrollDown[0][playerid], 4); PlayerTextDrawSetPreviewRot(playerid, InvScrollDown[0][playerid], 0.0, 0.0, 90.0, 0.0); |
Sets the rotation and zoom of a 3D model preview player-textdraw. |
The description of PlayerTextDrawSetPreviewRot:
Which means that you can rotate only model previews (textdraws with font type TEXT_DRAW_FONT_MODEL_PREVIEW) You are using textures, they can't be rotated in any way |