Whats wrong with this? - 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: Whats wrong with this? (
/showthread.php?tid=388489)
Whats wrong with this? -
RLGaming - 29.10.2012
pawn Код:
TutorialTextDraw[3] = TextDrawCreate(136.000000, 240.000000, " ");
TextDrawBackgroundColor(TutorialTextDraw[3], 255);
TextDrawFont(TutorialTextDraw[3], 3);
TextDrawUseBox(TutorialTextDraw[3], 1);
TextDrawFont(TutorialTextDraw[3], 1);
TextDrawBoxColor(TutorialTextDraw[3],0x00000066);
TextDrawLetterSize(TutorialTextDraw[3], 0.40000, 1.40000);
TextDrawColor(TutorialTextDraw[3], 0x00000066);
TextDrawSetOutline(TutorialTextDraw[3], 1);
TextDrawSetProportional(TutorialTextDraw[3], 1);
TextDrawSetShadow(TutorialTextDraw[3], 1);
Thats my text-draw, and yes I have the textdrawshowforplayer thing on, it works etc
Im trying to create a box around a certain area, but instead when I attempt to do it this happens:
It goes off completely to the right and doesn't like stop, I don't want it full screen, i want it like this:
Re: Whats wrong with this? -
RLGaming - 29.10.2012
Bump, please?
Re: Whats wrong with this? -
guitarmandanny - 29.10.2012
Im not sure exactly the problem,
I think its because the textdrawbox is the length of the screen but try this to see if it is.
Код:
TutorialTextDraw[3] = TextDrawCreate(0.000000, 240.000000, " ");
TextDrawBackgroundColor(TutorialTextDraw[3], 255);
TextDrawFont(TutorialTextDraw[3], 3);
TextDrawUseBox(TutorialTextDraw[3], 1);
TextDrawFont(TutorialTextDraw[3], 1);
TextDrawBoxColor(TutorialTextDraw[3],0x00000066);
TextDrawLetterSize(TutorialTextDraw[3], 0.40000, 1.40000);
TextDrawColor(TutorialTextDraw[3], 0x00000066);
TextDrawSetOutline(TutorialTextDraw[3], 1);
TextDrawSetProportional(TutorialTextDraw[3], 1);
TextDrawSetShadow(TutorialTextDraw[3], 1);
Re: Whats wrong with this? -
RLGaming - 29.10.2012
Didn't work ;/