12.10.2014, 00:45
Okay so, this thing just isnt showing in game.
I have that under one of my functions thats being called upon login.
&&
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.
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.