How to make a /q and who join notification textdraw for player read!
#4

hmm, first add this

Код:
new Text:ConnectTD;
then, under OnPlayerConnect in your game mode put this:

Код:
    new newtext[41], names[MAX_PLAYER_NAME];
    GetPlayerName(playerid,names,MAX_PLAYER_NAME);
    format(newtext, sizeof(newtext), "%s has joined the server.", names);
    TextDrawSetString(ConnectTD, newtext);
    TextDrawShowForAll(ConnectTD);
then under OnGameModeInIt add this

Код:
    ConnectTD = TextDrawCreate(633.000000,412.000000,"Player has joined the server");
    TextDrawFont(ConnectTD,1);
    TextDrawSetShadow(ConnectTD,0);
    TextDrawSetOutline(ConnectTD,1);
    TextDrawAlignment(ConnectTD,3);
    TextDrawLetterSize(ConnectTD,0.399999,1.500000);
    TextDrawColor(ConnectTD,COLOR_LIGHTRED);
Reply


Messages In This Thread
How to make a /q and who join notification textdraw for player read! - by UserName31 - 11.07.2012, 02:00
Re: How to make a /q and who join notification textdraw for player read! - by WinterAce - 11.07.2012, 02:15
Re: How to make a /q and who join notification textdraw for player read! - by UserName31 - 11.07.2012, 02:59
Re: How to make a /q and who join notification textdraw for player read! - by WinterAce - 11.07.2012, 03:49

Forum Jump:


Users browsing this thread: 3 Guest(s)