16.01.2014, 09:44
I assume you are doing this under OnGameInit, if so, you will need to use foreach so you can set every player's textdraw.
pawn Код:
foreach(Player, i)
{
AButton[i] = CreatePlayerTextDraw(i,181 ,167 , "Army");
PlayerTextDrawBackgroundColor(i,AButton[i], 255);
PlayerTextDrawFont(i,AButton[i], 1);
PlayerTextDrawLetterSize(i,AButton[i], 1.500000, 1.500000);
PlayerTextDrawColor(i,AButton[i], -1);
PlayerTextDrawSetOutline(i,AButton[i], 0);
PlayerTextDrawSetProportional(i,AButton[i], 1);
PlayerTextDrawSetShadow(i,AButton[i], 1);
}