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



TextDrawCreate - _Sami_ - 09.12.2009

TextDrawCreate(433.7500, 206.2500, "Welcome to XYZ server !");
i putted it in onplayerconnect

but its not showing there

help me !
thanks




Re: TextDrawCreate - [LNL]Remulis - 09.12.2009

Код:
//Add this to your new
new Text:LTU;


// Under public OnGameModeInit()

  LTU = TextDrawCreate(433.7500, 206.2500,"Welcome to XYZ server !");
  TextDrawUseBox(LTU,1);
  TextDrawBoxColor(LTU,0x00000066);
  TextDrawTextSize(LTU,629.000000,2.000000);
  TextDrawAlignment(LTU,0);
  TextDrawBackgroundColor(LTU,0x000000ff);
  TextDrawFont(LTU,1);
  TextDrawLetterSize(LTU,0.499999,0.899999);
  TextDrawColor(LTU,0xffffffff);
  TextDrawSetOutline(LTU,1);
  TextDrawSetProportional(LTU,1);
  TextDrawSetShadow(LTU,1);

//And put this under OnPlayerConnect

  TextDrawShowForPlayer(playerid, LTUNoLag);
i hope it helped


Re: TextDrawCreate - _Sami_ - 09.12.2009

Quote:
Originally Posted by RemulisLTU
Код:
//Add this to your new
new Text:LTU;


// Under public OnGameModeInit()

  LTU = TextDrawCreate(433.7500, 206.2500,"Welcome to XYZ server !");
  TextDrawUseBox(LTU,1);
  TextDrawBoxColor(LTU,0x00000066);
  TextDrawTextSize(LTU,629.000000,2.000000);
  TextDrawAlignment(LTU,0);
  TextDrawBackgroundColor(LTU,0x000000ff);
  TextDrawFont(LTU,1);
  TextDrawLetterSize(LTU,0.499999,0.899999);
  TextDrawColor(LTU,0xffffffff);
  TextDrawSetOutline(LTU,1);
  TextDrawSetProportional(LTU,1);
  TextDrawSetShadow(LTU,1);

//And put this under OnPlayerConnect

  TextDrawShowForPlayer(playerid, LTUNoLag);
i hope it helped
it giving me undefined symbol LTUNoLag


Re: TextDrawCreate - RenisiL - 09.12.2009

Код:
new Text:Text;


// Under public OnGameModeInit()

  Text = TextDrawCreate(433.7500, 206.2500,"Welcome to XYZ server !");
  TextDrawUseBox(Text,1);
  TextDrawBoxColor(Text,0x00000066);
  TextDrawTextSize(Text,629.000000,2.000000);
  TextDrawAlignment(Text,0);
  TextDrawBackgroundColor(Text,0x000000ff);
  TextDrawFont(Text,1);
  TextDrawLetterSize(Text,0.499999,0.899999);
  TextDrawColor(Text,0xffffffff);
  TextDrawSetOutline(Text,1);
  TextDrawSetProportional(Text,1);
  TextDrawSetShadow(Text,1);

//And put this under OnPlayerConnect

  TextDrawShowForPlayer(playerid, Text);
Fixed


Re: TextDrawCreate - _Sami_ - 09.12.2009

thanks !



Re: TextDrawCreate - [LNL]Remulis - 09.12.2009

srry i have putted the wrong one

TextDrawShowForPlayer(playerid, LTU);