SA-MP Forums Archive
Textdraw join messages? - 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 join messages? (/showthread.php?tid=172581)



Textdraw join messages? - markjaysonpinoy - 30.08.2010

Do someone know how to create Textdraw join messages? It will be really useful since it doesn't flood the chat. Like in COD5.


Re: Textdraw join messages? - markjaysonpinoy - 30.08.2010

BUMP
<<<<<<


Re: Textdraw join messages? - RSX - 30.08.2010

Did you search for using of textdraw and searched for some connection message sys which together would make the thing you're saying? Seriusly, just make an text draw when somebody connects.. design is up to you... placement is up to you... time is up to you... some display filters are too up to you. If nearly everything is up to you, just do it yourself, why would someone do it in your place? - to get a nearly pointless post as i can see below.


Re: Textdraw join messages? - Jay. - 30.08.2010

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.

}



Re: Textdraw join messages? - markjaysonpinoy - 02.09.2010

Well, that's not exactly what I want. But thanks.
I want the COD5 style. If anyone can give me thanks.


Re: Textdraw join messages? - GoldenM4 - 02.09.2010

what do you mean the font there are a list of fonts here
https://sampwiki.blast.hk/wiki/GameTextStyle