Textdraws
#4

Create the textdraw and apply the functions to it as you would. Then, when the player connects, show it to him.
pawn Код:
public OnGameModeInit( )
{
    Textdraw0 = TextDrawCreate(5.000000, 184.000000, "Welcome To New Legends Evolution");
    TextDrawBackgroundColor(Textdraw0, 255);
    TextDrawFont(Textdraw0, 3);
    TextDrawLetterSize(Textdraw0, 0.480000, 1.900000);
    TextDrawColor(Textdraw0, 16711935);
    TextDrawSetOutline(Textdraw0, 1);
    TextDrawSetProportional(Textdraw0, 1);
    return 1;
}

public OnPlayerConnect( playerid )
{
    TextDrawShowForPlayer( playerid, Textdraw0 );
    return 1;
}
You will need to make sure you declare 'Textdraw0' variable globally.
Reply


Messages In This Thread
Textdraws - by Anthonyx3' - 27.01.2011, 02:01
Re: Textdraws - by Grim_ - 27.01.2011, 02:02
Re: Textdraws - by Anthonyx3' - 27.01.2011, 02:09
Re: Textdraws - by Grim_ - 27.01.2011, 02:12
Re: Textdraws - by -Rebel Son- - 27.01.2011, 02:13
Re: Textdraws - by Gabe - 27.01.2011, 02:14
Re: Textdraws - by Anthonyx3' - 27.01.2011, 02:16

Forum Jump:


Users browsing this thread: 1 Guest(s)