SA-MP Forums Archive
Textdrawsetpreview not showing up - 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: Textdrawsetpreview not showing up (/showthread.php?tid=541454)



Textdrawsetpreview not showing up - TwinkiDaBoss - 12.10.2014

Okay so, this thing just isnt showing in game.

pawn Код:
TXTPICClass_Sniper[playerid] = CreatePlayerTextDraw(playerid, 249.500000, 116.562500, "usebox");
    PlayerTextDrawLetterSize(playerid, TXTPICClass_Sniper[playerid], 0.000000, 18.787500);
    PlayerTextDrawTextSize(playerid, TXTPICClass_Sniper[playerid], 123.000000, 0.000000);
    PlayerTextDrawAlignment(playerid, TXTPICClass_Sniper[playerid], 1);
    PlayerTextDrawColor(playerid, TXTPICClass_Sniper[playerid], 0);
    PlayerTextDrawUseBox(playerid, TXTPICClass_Sniper[playerid], true);
    PlayerTextDrawBoxColor(playerid, TXTPICClass_Sniper[playerid], -1);
    PlayerTextDrawSetShadow(playerid, TXTPICClass_Sniper[playerid], 0);
    PlayerTextDrawSetOutline(playerid, TXTPICClass_Sniper[playerid], 0);
    PlayerTextDrawFont(playerid, TXTPICClass_Sniper[playerid], TEXT_DRAW_FONT_MODEL_PREVIEW);
        PlayerTextDrawSetPreviewModel(playerid,TXTPICClass_Sniper[playerid],285);

I have that under one of my functions thats being called upon login.

&&
pawn Код:
PlayerTextDrawShow(playerid,TXTPICClass_Sniper[playerid]);

Other non preview model textdraws are showing up but this one is not. If I remove anything that is associated with Previewmodel from it, it will show the textdraw but besides that it wont show it.