SA-MP Forums Archive
Textdraw help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Textdraw help (/showthread.php?tid=614017)



Textdraw help - Loinal - 03.08.2016

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" 



Re: Textdraw help - Shinja - 03.08.2016

The textdraw MUST use the font type TEXT_DRAW_FONT_MODEL_PREVIEW

PHP код:
TextDrawFont(Textdraw1TEXT_DRAW_FONT_MODEL_PREVIEW); 



Re: Textdraw help - Loinal - 03.08.2016

Still send me that error


Re: Textdraw help - Shinja - 03.08.2016

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


Re: Textdraw help - Loinal - 03.08.2016

it show the car with a black dialog


Re: Textdraw help - Shinja - 03.08.2016

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