Textdraw help
#1

PHP код:
Textdraw1 TextDrawCreate(246.399948129.919998"411");
TextDrawLetterSize(Textdraw10.4499991.600000);
TextDrawTextSize(Textdraw1167.200027129.173309);
TextDrawAlignment(Textdraw11);
TextDrawColor(Textdraw1, -1);
TextDrawUseBox(Textdraw1true);
TextDrawBoxColor(Textdraw10);
TextDrawSetShadow(Textdraw10);
TextDrawSetOutline(Textdraw11);
TextDrawFont(Textdraw15);
TextDrawSetProportional(Textdraw11);
TextDrawSetPreviewModel(Textdraw1411);
TextDrawSetPreviewRot(Textdraw10.0000001.00000018.0000001.000000); 
PHP код:
D:\samp folder\XtremeX V9\gamemodes\XtremeX.pwn(1813) : error 017undefined symbol "TextDrawSetPreviewModel"
D:\samp folder\XtremeX V9\gamemodes\XtremeX.pwn(1814) : error 017undefined symbol "TextDrawSetPreviewRot" 
Reply
#2

The textdraw MUST use the font type TEXT_DRAW_FONT_MODEL_PREVIEW

PHP код:
TextDrawFont(Textdraw1TEXT_DRAW_FONT_MODEL_PREVIEW); 
Reply
#3

Still send me that error
Reply
#4

Looks like he functions aren't added for you yet
Update you includes/plugins and server files to last version
http://sa-mp.com/download.php
Copy the downloaded server files in your server directory and overwrite all
Reply
#5

it show the car with a black dialog
Reply
#6

Yeah thats your code, its Infernus id.
Errors gone?
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)