SA-MP Forums Archive
Textdraw creation problem - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Textdraw creation problem (/showthread.php?tid=224029)



Textdraw creation problem - HeLiOn_PrImE - 10.02.2011

I used Zamaroht's textdraw editor to make some texts and I got them perfectly. The problem is, when I export the project as working script (.pwn) the created script doesn't work at all. It gets compiled without any error or warning but it simply doesn't work. I can't see my text.
It can also export the file as text and after that put it in a pwn bit I get some errors at compiling. (that's weird).

I need some help on this situation. If you used this before please help me.
If the editor is the problem I need a new one because I am pretty much below noob when it comes to scripting. I need some in game textdraw maker to do this..or anything that doesn't involve writing code. Any help would be apreciated. Thx...


Re: Textdraw creation problem - Antonio [G-RP] - 11.02.2011

Are you using TextdrawShowForPlayer ?


Re: Textdraw creation problem - MrDeath537 - 11.02.2011

Did you move the FS from scriptfiles to filterscripts?

LOL


Re: Textdraw creation problem - -Rebel Son- - 11.02.2011

Quote:
Originally Posted by MrDeath537
Посмотреть сообщение
Did you move the FS from scriptfiles to filterscripts?

LOL
Indeed.


Re: Textdraw creation problem - HeLiOn_PrImE - 11.02.2011

yes I did move it. and Yes I am using TextdrawShowForPlayer

when I export it as text, the text gave me some errors when compiling. Here is the text:

Код:
// TextDraw developed using Zamaroht's Textdraw Editor 1.0

// On top of script:
new Text:Textdraw0;
new Text:Textdraw1;
new Text:Textdraw2;

// In OnGameModeInit prefferably, we procced to create our textdraws:
Textdraw0 = TextDrawCreate(496.000000, 3.000000, "Romania Rosiori Stunt");
TextDrawBackgroundColor(Textdraw0, -1);
TextDrawFont(Textdraw0, 3);
TextDrawLetterSize(Textdraw0, 0.349999, 0.899999);
TextDrawColor(Textdraw0, 658175);
TextDrawSetOutline(Textdraw0, 1);
TextDrawSetProportional(Textdraw0, 1);

Textdraw1 = TextDrawCreate(36.000000, 434.000000, "rrs-ro.forumz.ro");
TextDrawBackgroundColor(Textdraw1, -1);
TextDrawFont(Textdraw1, 3);
TextDrawLetterSize(Textdraw1, 0.349999, 0.899999);
TextDrawColor(Textdraw1, 658175);
TextDrawSetOutline(Textdraw1, 1);
TextDrawSetProportional(Textdraw1, 1);

Textdraw2 = TextDrawCreate(37.000000, 423.000000, "www.godplay.ro");
TextDrawBackgroundColor(Textdraw2, -1);
TextDrawFont(Textdraw2, 3);
TextDrawLetterSize(Textdraw2, 0.349999, 0.899999);
TextDrawColor(Textdraw2, 658175);
TextDrawSetOutline(Textdraw2, 1);
TextDrawSetProportional(Textdraw2, 1);

// You can now use TextDrawShowForPlayer(-ForAll), TextDrawHideForPlayer(-ForAll) and
// TextDrawDestroy functions to show, hide, and destroy the textdraw.