Textdraw join messages?
#1

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

BUMP
<<<<<<
Reply
#3

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.
Reply
#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
#5

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)