SA-MP Forums Archive
PlayerTextDrawSetPreviewModel - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: PlayerTextDrawSetPreviewModel (/showthread.php?tid=423922)



PlayerTextDrawSetPreviewModel - Squirrel - 19.03.2013

How to set ALL skins visible using this?

Код:
public OnPlayerConnect(playerid)
{
	textdraw = CreatePlayerTextDraw(playerid, 320.0, 240.0, "_");
	PlayerTextDrawFont(playerid, textdraw, TEXT_DRAW_FONT_MODEL_PREVIEW);
	PlayerTextDrawUseBox(playerid, textdraw, 1);
	PlayerTextDrawBoxColor(playerid, textdraw, 0x000000FF);
	PlayerTextDrawTextSize(playerid, textdraw, 40.0, 40.0);
	PlayerTextDrawSetPreviewModel(playerid, textdraw, 0);
        PlayerTextDrawShow(playerid, textdraw);
        return 1;
}
This for example shows only skin ID:0


Respuesta: PlayerTextDrawSetPreviewModel - Parka - 19.03.2013

https://sampforum.blast.hk/showthread.php?tid=406833