I need help with textdraws
#3

pawn Код:
enum sSpecTD
{
    Text:SpecTD[16]
};

new pSpecTD[MAX_PLAYERS][sSpecTD];


public OnGameModeInit()
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        pSpecTD[i][SpecTD[0]] = TextDrawCreate(634.000000, 46.000000, "Box1");
        TextDrawBackgroundColor(pSpecTD[i][SpecTD[0]], 255);
        TextDrawFont(pSpecTD[i][SpecTD[0]], 1);
        TextDrawLetterSize(pSpecTD[i][SpecTD[0]], 0.500000, 9.699996);
        TextDrawColor(pSpecTD[i][SpecTD[0]], 0);
        TextDrawSetOutline(pSpecTD[i][SpecTD[0]], 0);
        TextDrawSetProportional(pSpecTD[i][SpecTD[0]], 1);
        TextDrawSetShadow(pSpecTD[i][SpecTD[0]], 0);
        TextDrawUseBox(pSpecTD[i][SpecTD[0]], 1);
        TextDrawBoxColor(pSpecTD[i][SpecTD[0]], 100);
        TextDrawTextSize(pSpecTD[i][SpecTD[0]], 486.000000, 0.000000);

        pSpecTD[i][SpecTD[1]] = TextDrawCreate(634.000000, 46.000000, "Box2");
        TextDrawBackgroundColor(pSpecTD[i][SpecTD[1]], 255);
        TextDrawFont(pSpecTD[i][SpecTD[1]], 1);
        TextDrawLetterSize(pSpecTD[i][SpecTD[1]], 0.500000, 1.200000);
        TextDrawColor(pSpecTD[i][SpecTD[1]], 0);
        TextDrawSetOutline(pSpecTD[i][SpecTD[1]], 0);
        TextDrawSetProportional(pSpecTD[i][SpecTD[1]], 1);
        TextDrawSetShadow(pSpecTD[i][SpecTD[1]], 0);
        TextDrawUseBox(pSpecTD[i][SpecTD[1]], 1);
        TextDrawBoxColor(pSpecTD[i][SpecTD[1]], 100);
        TextDrawTextSize(pSpecTD[i][SpecTD[1]], 487.000000, -1.000000);
Reply


Messages In This Thread
I need help with textdraws - by andrew2695 - 24.11.2012, 15:18
AW: I need help with textdraws - by Nero_3D - 24.11.2012, 15:21
Re: I need help with textdraws - by RenSoprano - 24.11.2012, 15:27
Re: I need help with textdraws - by andrew2695 - 24.11.2012, 15:31
Re: I need help with textdraws - by RenSoprano - 24.11.2012, 15:33
Re: I need help with textdraws - by andrew2695 - 24.11.2012, 15:45

Forum Jump:


Users browsing this thread: 2 Guest(s)