12.02.2013, 11:13
new TextDrawSetPreveiwModel doesn't work
code:
errors:
i'm using Scripting Machine to script and compile
code:
PHP код:
if (strcmp("/infernus", cmdtext, true, 10) == 0)
{
new Text:textdraw;
textdraw = TextDrawCreate(320.0, 240.0, "_");
TextDrawFont(textdraw, TEXT_DRAW_FONT_MODEL_PREVIEW);
TextDrawUseBox(textdraw, 1);
TextDrawBoxColor(textdraw, 0x000000FF);
TextDrawTextSize(textdraw, 40.0, 40.0);
TextDrawSetPreviewModel(textdraw, 411);//infernus model
TextDrawShowForPlayer(playerid,textdraw);
}
Код:
017 normal 152 "undefined symbol "TEXT_DRAW_FONT_MODEL_PREVIEW"" 029 normal 156 "invalid expression, assumed zero" 017 normal 156 "undefined symbol "TextDrawSetPreviewModel""