This function was added in SA-MP 0.3x and will not work in earlier versions!
Sets a player textdraw 2D preview sprite of a specified model ID.
|playerid||The PlayerTextDraw player ID.|
|text||The textdraw id that will display the 3D preview.|
|modelindex||The GTA SA or SA:MP model ID to display.|
1: The function was executed successfully. If an invalid model is passed 'success' is reported, but the model will appear as a yellow/black question mark.
0: The function failed to execute. Player and/or textdraw do not exist.
The textdraw MUST use the font type TEXT_DRAW_FONT_MODEL_PREVIEW in order for this function to have effect.