28.09.2010, 23:04
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;
}