11.09.2012, 00:46
pawn Код:
new Text:Textdraw0[MAX_PLAYERS];
pawn Код:
for(new i = 0; i<MAX_PLAYERS; i++) // Under OnGameModeInit.
{
Textdraw0[i] = TextDrawCreate(30.000000, 119.000000, "Law commands:");
TextDrawBackgroundColor(Textdraw0[i], 255);
TextDrawFont(Textdraw0[i], 1);
TextDrawLetterSize(Textdraw0[i], 0.430000, 1.000000);
TextDrawColor(Textdraw0[i], 16777215);
TextDrawSetOutline(Textdraw0[i], 0);
TextDrawSetProportional(Textdraw0[i], 1);
TextDrawSetShadow(Textdraw0[i], 1);
TextDrawUseBox(Textdraw0[i], 1);
TextDrawBoxColor(Textdraw0[i], 75);
TextDrawTextSize(Textdraw0[i], 158.000000, 0.000000);
}
pawn Код:
TextDrawHideForPlayer(playerid, Textdraw[playerid]);