TextDrawSetString
#3

Hope this helped...
pawn Код:
// At the top of the script:
new Text:Textdraw1;

// The thing you needed changed:

stock pInfoTextDraw(playerid)
{
    new TDString[128];
    format(TDString,sizeof(TDString),"* Tu turi %d Jetpack, %d XP, %d nuzudymu. Tavo skin ID yra %d ", pInfo[playerid][jetpackas], pInfo[playerid][score], pInfo[playerid][killai], pInfo[playerid][skin]);
    Textdraw1 = TextDrawCreate(182 ,425 , TDString);
    TextDrawFont(Textdraw1 , 1);
    TextDrawLetterSize(Textdraw1 , 0.4, 2.8);
    TextDrawColor(Textdraw1 , 0x8f1111FF);
    TextDrawSetOutline(Textdraw1 , false);
    TextDrawSetProportional(Textdraw1 , true);
    TextDrawSetShadow(Textdraw1 , 1);
    TextDrawUseBox(Textdraw1, 1);
    TextDrawBoxColor(Textdraw1, COLOR_BLACK);
    TextDrawSetString(Textdraw1, TDString);
    TextDrawShowForPlayer(playerid, Textdraw1);
    return 1;
}
Reply


Messages In This Thread
TextDrawSetString - by Ernestas_ - 15.06.2012, 22:18
Re: TextDrawSetString - by Ernestas_ - 18.06.2012, 04:46
Re: TextDrawSetString - by Dubya - 18.06.2012, 04:56
Re: TextDrawSetString - by leonardo1434 - 18.06.2012, 05:10
Re: TextDrawSetString - by Jonny5 - 18.06.2012, 05:35

Forum Jump:


Users browsing this thread: 1 Guest(s)