Problem with TextDraws
#6

pawn Код:
public OnFilterScriptInit()
{
    TextDraws[San_mp][0] = TextDrawCreate(35.000000, 190.000000, "1");
     TextDraws[San_mp][1] = TextDrawCreate(50.000000, 184.000000, "2");
     TextDraws[San_mp][2] = TextDrawCreate(58.000000, 180.000000, "3");
     TextDraws[San_mp][3] = TextDrawCreate(66.000000, 178.000000, "4");
     TextDraws[San_mp][4] = TextDrawCreate(82.000000, 179.000000, "5");
     TextDraws[San_mp][5] = TextDrawCreate(90.000000, 179.000000, "6");
     TextDraws[San_mp][6] = TextDrawCreate(98.000000, 181.000000, "7");
     TextDraws[San_mp][7] = TextDrawCreate(104.000000, 183.000000, "8");
     TextDraws[San_mp][8] = TextDrawCreate(111.000000, 185.000000, "9");
     TextDraws[San_mp][9] = TextDrawCreate(119.000000, 189.000000, "10");

     for(new i; i < 10; i++)
     {
        TextDrawBackgroundColor(TextDraws[San_mp][i], 255);
        TextDrawFont(TextDraws[San_mp][i], 0);
        TextDrawLetterSize(TextDraws[San_mp][i], 0.639998, 2.699999);
        TextDrawColor(TextDraws[San_mp][i], -1);
        TextDrawSetOutline(TextDraws[San_mp][i], 1);
        TextDrawSetProportional(TextDraws[San_mp][i], 0);
    }
    return 1;
}

public OnPlayerConnect(playerid)
{
    for(new i; i < 10; i++)
        TextDrawShowForPlayer(playerid, TextDraws[San_mp][i]);
    return 1;
}
Reply


Messages In This Thread
Problem with TextDraws - by Roma555 - 28.09.2010, 19:57
Re: Problem with TextDraws - by Las Venturas CNR - 28.09.2010, 20:06
Re: Problem with TextDraws - by Roma555 - 28.09.2010, 21:17
Re: Problem with TextDraws - by Mr.Jvxmc - 28.09.2010, 21:30
Re: Problem with TextDraws - by Roma555 - 28.09.2010, 21:49
Re: Problem with TextDraws - by Jefff - 28.09.2010, 23:04
Re: Problem with TextDraws - by Roma555 - 29.09.2010, 01:49
Re: Problem with TextDraws - by Retardedwolf - 29.09.2010, 01:51
Re: Problem with TextDraws - by Roma555 - 29.09.2010, 02:49
Re: Problem with TextDraws - by Steven82 - 29.09.2010, 04:43

Forum Jump:


Users browsing this thread: 1 Guest(s)