11.04.2013, 16:05
Hello everyone.
I've made textdraw which gonna be display player's skin. and its not selectable.
the problem is that i skin wont be shown.
Here is the code:
Thanks for reading, i hop you can solve this for me.
I've made textdraw which gonna be display player's skin. and its not selectable.
the problem is that i skin wont be shown.
Here is the code:
pawn Код:
new PlayerText:Inverntory1[MAX_PLAYERS];
//OnPlayerConnect
Inverntory1[playerid] = CreatePlayerTextDraw(playerid, 102.500000, 83.416671, " ");
PlayerTextDrawLetterSize(playerid, Inverntory1[playerid], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, Inverntory1[playerid], 88.125000, 157.500000);
PlayerTextDrawAlignment(playerid, Inverntory1[playerid], 1);
PlayerTextDrawColor(playerid, Inverntory1[playerid], -2139062017);
PlayerTextDrawSetShadow(playerid, Inverntory1[playerid], 0);
PlayerTextDrawSetOutline(playerid, Inverntory1[playerid], 0);
PlayerTextDrawFont(playerid, Inverntory1[playerid], 4);
//And here after player type the command.
PlayerTextDrawSetPreviewModel(playerid,Inverntory1[playerid], GetPlayerSkin(playerid));
PlayerTextDrawShow(playerid,Inverntory1[playerid]);