[AJUDA] textdraw de imagem para login samp
#7

pawn Код:
#include <a_samp>

new Text:Textdraw0;

public OnGameModeInit()
{
    Textdraw0 = TextDrawCreate(0.000000, 1.000000, "loadsc3:loadsc3");
    TextDrawBackgroundColor(Textdraw0, 255);
    TextDrawFont(Textdraw0, 4);
    TextDrawLetterSize(Textdraw0, 0.759999, 1.000000);
    TextDrawColor(Textdraw0, -1);
    TextDrawSetOutline(Textdraw0, 0);
    TextDrawSetProportional(Textdraw0, 1);
    TextDrawSetShadow(Textdraw0, 1);
    TextDrawUseBox(Textdraw0, 1);
    TextDrawBoxColor(Textdraw0, 255);
    TextDrawTextSize(Textdraw0, 639.000000, 448.000000);
}


/////////////////////////////////////////////////////
public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid,Textdraw0);
}


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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)