20.07.2015, 16:04
Hi Guys/Gals,
I've just run into an old issue of mine, where when setting the 'model' for a model preview textdraw, it hides itself upon the model being changed, or if it set while being created; I never resolved the issue, and since I've come back and started doing a little project in my spare time; I've run into the same issue.
Note: I've provided one of the 'Windows' where the model preview is created, all of the previews are exactly the same, so it will be useless asking for the others.
Code (http://prntscr.com/7uvsnn):
Screenshot ( I marked the area they should appear):
http://prntscr.com/7uvub0
I've just run into an old issue of mine, where when setting the 'model' for a model preview textdraw, it hides itself upon the model being changed, or if it set while being created; I never resolved the issue, and since I've come back and started doing a little project in my spare time; I've run into the same issue.
Note: I've provided one of the 'Windows' where the model preview is created, all of the previews are exactly the same, so it will be useless asking for the others.
Code (http://prntscr.com/7uvsnn):
Код:
TD_CharacterSelection[23][playerid] = TextDrawCreate(346.000000, 198.000000, "_"); TextDrawLetterSize(TD_CharacterSelection[23][playerid], 0.000000, 4.937654); TextDrawTextSize(TD_CharacterSelection[23][playerid], 40, 40); TextDrawAlignment(TD_CharacterSelection[23][playerid], 1); TextDrawColor(TD_CharacterSelection[23][playerid], 0); //TextDrawUseBox(TD_CharacterSelection[23][playerid], true); //TextDrawBoxColor(TD_CharacterSelection[23][playerid], 102); TextDrawSetShadow(TD_CharacterSelection[23][playerid], 0); TextDrawSetOutline(TD_CharacterSelection[23][playerid], 0); TextDrawFont(TD_CharacterSelection[23][playerid], TEXT_DRAW_FONT_MODEL_PREVIEW); TextDrawSetPreviewModel(TD_CharacterSelection[23][playerid], 1);
http://prntscr.com/7uvub0