Little help with the texdraws
#5

Example script:
pawn Код:
#include <a_samp>

new Text:ftd;

public OnGameModeInit()
{
   
    ftd = TextDrawCreate(0.0, 434.0,"Sample text here");
    TextDrawFont(ftd,3);
    TextDrawLetterSize(ftd,10,10);
    TextDrawColor(ftd,0x0F00FF);
    TextDrawSetShadow(ftd,1);
    TextDrawSetOutline(ftd,1);
    TextDrawBackgroundColor(ftd,0x000FF);
    TextDrawUseBox(ftd,0);
   
    return 1;
}

public OnGameModeExit()
{
    TextDrawDestroy(ftd);
    return 1;
}

public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid, ftd);
    return 1;
}
Reply


Messages In This Thread
Little help with the texdraws - by FrostDoggy - 15.09.2011, 09:35
Re: Little help with the texdraws - by Anzipane! - 15.09.2011, 09:39
Re: Little help with the texdraws - by FrostDoggy - 15.09.2011, 09:46
Re: Little help with the texdraws - by Anzipane! - 15.09.2011, 11:15
Re: Little help with the texdraws - by iPLEOMAX - 15.09.2011, 12:36

Forum Jump:


Users browsing this thread: 1 Guest(s)