TextDrawSetPreveiwModel
#1

new TextDrawSetPreveiwModel doesn't work
code:
PHP код:
    if (strcmp("/infernus"cmdtexttrue10) == 0)
    {
        new 
Text:textdraw;
        
textdraw TextDrawCreate(320.0240.0"_");
        
TextDrawFont(textdrawTEXT_DRAW_FONT_MODEL_PREVIEW);
        
TextDrawUseBox(textdraw1);
        
TextDrawBoxColor(textdraw0x000000FF);
        
TextDrawTextSize(textdraw40.040.0);
        
TextDrawSetPreviewModel(textdraw411);//infernus model
        
TextDrawShowForPlayer(playerid,textdraw);
    } 
errors:
Код:
017	normal	152	"undefined symbol "TEXT_DRAW_FONT_MODEL_PREVIEW""
029	normal	156	"invalid expression, assumed zero"
017	normal	156	"undefined symbol "TextDrawSetPreviewModel""
i'm using Scripting Machine to script and compile
Reply
#2

Looks like the functions don't exist yet, and as I remember these functions were added in 0.3x
Try to update your includes
(download the server package, extract in your server folder, allow overwrite)
Reply
#3

I'll try
Edit: Works! thanks
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)