TextDrawCreate
#1

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

but its not showing there

help me !
thanks

Reply
#2

Код:
//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
Reply
#3

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
Reply
#4

Код:
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
Reply
#5

thanks !
Reply
#6

srry i have putted the wrong one

TextDrawShowForPlayer(playerid, LTU);
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)