Open Disinterpreter opened 4 years ago
Probably can be implemented via https://wiki.multitheftauto.com/wiki/Resource:Object_preview
This needs CFont in order to be 1:1. Lots of issues revolving SA-MP portability are mainly related to the lack of CFont in MTA. I will try to do my own implementation in Lua, but I really don't know what the chances are of it looking remotely similar to SA-MP.
Function name PlayerTextDrawSetPreviewModel(playerid, text[], modelindex) PlayerTextDrawSetPreviewRot(playerid, PlayerText:text[], Float:fRotX, Float:fRotY, Float:fRotZ) PlayerTextDrawSetPreviewVehCol(playerid, text[], color1, color2)
Describe the function PlayerTextDrawSetPreviewModel - Sets a player textdraw 2D preview sprite of a specified model ID. PlayerTextDrawSetPreviewRot - Sets the rotation and zoom of a 3D model preview player-textdraw. PlayerTextDrawSetPreviewVehCol - Set the color of a vehicle in a player-textdraw model preview (if a vehicle is shown).
Equivalent in MTA -
Additional information https://www.open.mp/docs/scripting/functions/PlayerTextDrawSetPreviewModel https://www.open.mp/docs/scripting/functions/PlayerTextDrawSetPreviewRot https://www.open.mp/docs/scripting/functions/PlayerTextDrawSetPreviewVehCol
THERE AREN'T PREPARED IMAGES ONLY IN-GAME VISUALIZATION OF OBJECTS