SA-MP Forums Archive
textdraw - 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 (/showthread.php?tid=100207)



textdraw - [LNL]Remulis - 03.10.2009

is text draws no more working ?

or is it other script

OnGameModeInit()

Код:
  Textdraw0 = TextDrawCreate(222.000000,11.000000,"www.LTU-NOLAG.UCOz.com");
  Textdraw1 = TextDrawCreate(11.000000,180.000000," Taisykles:");
  Textdraw2 = TextDrawCreate(11.000000,202.000000,"   Ne cytinkite~n~   Ne floidinkite~n~   Ne spaminkit~n~   Gerpkit adminus ~n~ ~n~ ~n~ ~y~ LTU~G~no~R~alg");
  TextDrawAlignment(Textdraw0,1);
  TextDrawAlignment(Textdraw1,0);
  TextDrawAlignment(Textdraw2,0);
  TextDrawBackgroundColor(Textdraw0,0xffffff33);
  TextDrawBackgroundColor(Textdraw1,0x000000ff);
  TextDrawBackgroundColor(Textdraw2,0x0000ff33);
  TextDrawFont(Textdraw0,3);
  TextDrawLetterSize(Textdraw0,0.499999,1.100000);
  TextDrawFont(Textdraw1,2);
  TextDrawLetterSize(Textdraw1,0.499999,1.000000);
  TextDrawFont(Textdraw2,1);
  TextDrawLetterSize(Textdraw2,0.599999,1.300000);
  TextDrawColor(Textdraw0,0xff0000cc);
  TextDrawColor(Textdraw1,0xffffffff);
  TextDrawColor(Textdraw2,0x00ffff33);
  TextDrawSetOutline(Textdraw0,1);
  TextDrawSetOutline(Textdraw1,1);
  TextDrawSetOutline(Textdraw2,1);
  TextDrawSetProportional(Textdraw0,1);
  TextDrawSetProportional(Textdraw1,1);
  TextDrawSetProportional(Textdraw2,1);
  TextDrawSetShadow(Textdraw0,4);
  TextDrawSetShadow(Textdraw1,1);
  TextDrawSetShadow(Textdraw2,1);



Re: textdraw - shady91 - 03.10.2009

Quote:
Originally Posted by RemulisLTU
is text draws no more working ?

or is it other script
what? do you mean of corse text draws still work you just have to script it right.


Re: textdraw - Correlli - 03.10.2009

Quote:
Originally Posted by RemulisLTU
is text draws no more working ?

or is it other script
They're working good, the problem is at you probably.


Re: textdraw - [LNL]Remulis - 03.10.2009

it works on 0.2x but not on rc8 - 0.3


Re: textdraw - dugi - 03.10.2009

Post your code as it works for everyone else.


Re: textdraw - [LNL]Remulis - 03.10.2009

here the script



Re: textdraw - shady91 - 03.10.2009

Quote:
Originally Posted by RemulisLTU
here the script
pawn Код:
//add this under onplayerconnect
TextDrawShowForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw1);
TextDrawShowForPlayer(playerid, Textdraw2);



Re: textdraw - [LNL]Remulis - 03.10.2009

i have did but still


Re: textdraw - Jasen - 04.10.2009

Do you have "new Text:Textdraw0, Text:Textdraw1, Text:Textdraw2;" at the top of your script somewhere?


Re: textdraw - shady91 - 04.10.2009

Quote:
Originally Posted by Jasen
Do you have "new Text:Textdraw0, Text:Textdraw1, Text:Textdraw2;" at the top of your script somewhere?
yes he must other wise he would have errors saying undefind symbol.