[AJUDA] Textdraw
#2

pawn Код:
#include <a_samp>

new Text:Textdraw0;

public OnGameModeInit()
{
    Textdraw0 = TextDrawCreate(30.000000, 322.000000, "http://lsddrift.blogspot.com");
    TextDrawBackgroundColor(Textdraw0, 255);
    TextDrawFont(Textdraw0, 1);
    TextDrawLetterSize(Textdraw0, 0.260000, 1.600000);
    TextDrawColor(Textdraw0, -1);
    TextDrawSetOutline(Textdraw0, 1);
    TextDrawSetProportional(Textdraw0, 1);
    return 1;
}

public OnGameModeExit()
{
    TextDrawHideForAll(Textdraw0);
    TextDrawDestroy(Textdraw0);
    return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
    TextDrawHideForPlayer(playerid, Textdraw0);
    return 1;
}

public OnPlayerConnect(playerid)
{
    TextDrawHideForPlayer(playerid, Textdraw0);
    return 1;
}

public OnPlayerSpawn(playerid)
{
    TextDrawShowForPlayer(playerid, Textdraw0);
    return 1;
}
Reply


Messages In This Thread
[AJUDA] Textdraw - by @ReeF - 24.12.2010, 00:01
Re: [AJUDA] Textdraw - by [NWD]Jim._.Carrey - 24.12.2010, 02:11
Re: [AJUDA] Textdraw - by zSuYaNw - 24.12.2010, 02:50
Re: [AJUDA] Textdraw - by @ReeF - 24.12.2010, 10:11

Forum Jump:


Users browsing this thread: 1 Guest(s)