17.07.2009, 18:13
pawn Код:
new Text:Textdraw0;
Textdraw0 = TextDrawCreate(170.000000,410.000000,"%n_[ID:%i]_Has_Joined_the_server.");
TextDrawUseBox(Textdraw0,0);
TextDrawBoxColor(Textdraw0,0x000000ff);
TextDrawTextSize(Textdraw0,-1.000000,146.000000);
TextDrawAlignment(Textdraw0,0);
TextDrawBackgroundColor(Textdraw0,0x0000ff33);
TextDrawFont(Textdraw0,3);
TextDrawLetterSize(Textdraw0,0.499999,0.800000);
TextDrawColor(Textdraw0,0xffffffff);
TextDrawSetOutline(Textdraw0,1);
TextDrawSetProportional(Textdraw0,1);
TextDrawShowForPlayer(playerid, Text:Textdraw0);
I have done this but how do i get the where the %n is to be a players name and %i to be the id to show when a person joins.. because i want to make Join/leave messages with textdraw..