Textdraw join messages?
#4

pawn Код:
new Text:Textdraw0;//On top
pawn Код:
new PlayerName[MAX_PLAYER_NAME];
    new string[128];
    GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
    format(string, sizeof(string), "~R~%s~w~(ID: %d has joined the server.", PlayerName, playerid);
    Textdraw0 = TextDrawCreate(19, 145, string); //Under OnPlayerConnect
    TextDrawShowForAll(Textdraw0);
    TextDrawSetOutline(Textdraw0,true);
    SetTimer("HideTD",5000,true);
pawn Код:
forward HideTD();
public HideTD()
{
  TextDrawHideForAll(Textdraw0);//Somewhere in your script NOT in any functions.

}
Reply


Messages In This Thread
Textdraw join messages? - by markjaysonpinoy - 30.08.2010, 17:40
Re: Textdraw join messages? - by markjaysonpinoy - 30.08.2010, 17:58
Re: Textdraw join messages? - by RSX - 30.08.2010, 18:01
Re: Textdraw join messages? - by Jay. - 30.08.2010, 18:05
Re: Textdraw join messages? - by markjaysonpinoy - 02.09.2010, 17:46
Re: Textdraw join messages? - by GoldenM4 - 02.09.2010, 17:49

Forum Jump:


Users browsing this thread: 1 Guest(s)