29.09.2013, 10:30
These inside OnGameModeInit
When they type a command for animation:
pawn Код:
txtAnimHelper = TextDrawCreate(610.0, 400.0, "~r~SPACE ~w~to stop the animation");
TextDrawUseBox(txtAnimHelper, 0);
TextDrawFont(txtAnimHelper, 2);
TextDrawSetShadow(txtAnimHelper,0);
TextDrawSetOutline(txtAnimHelper,1);
TextDrawBackgroundColor(txtAnimHelper,0x000000FF);
TextDrawColor(txtAnimHelper,0xFFFFFFFF);
TextDrawAlignment(txtAnimHelper,3);
pawn Код:
TextDrawShowForPlayer(playerid, txtAnimHelper);