Sign in to follow this  
Followers 0
Mishunin

GreenZona

1 post in this topic

Всем привет, сливаю текстдрав грин зоны, данный текстдрав подойдет к проекту Mobile/PC, расположение текстдрава с низу по центру.

 

Пример работы:

 

Спойлер

619e6c0fe652b_24-11-2021185724.thumb.jpg.99f6baca8fa3cca804d4bbaed92e96ba.jpg

 

Код:

Спойлер

  new Text:greenzone0;
  new Text:greenzone1;


  greenzone0 = TextDrawCreate(253.000000, 406.000000, "LD_BEAT:chit");
  TextDrawLetterSize(greenzone0, 0.000000, 0.000000);
  TextDrawTextSize(greenzone0, 129.500000, 44.333343);
  TextDrawAlignment(greenzone0, 1);
  TextDrawColor(greenzone0, 16711935);
  TextDrawSetShadow(greenzone0, 0);
  TextDrawSetOutline(greenzone0, 0);
  TextDrawFont(greenzone0, 4);

  greenzone1 = TextDrawCreate(279.000000, 420.933410, "GREEN ZONE");
  TextDrawLetterSize(greenzone1, 0.318499, 1.375998);
  TextDrawTextSize(greenzone1, 14.000000, 0.466666);
  TextDrawAlignment(greenzone1, 1);
  TextDrawColor(greenzone1, -1);
  TextDrawSetShadow(greenzone1, 2);
  TextDrawSetOutline(greenzone1, 0);
  TextDrawBackgroundColor(greenzone1, 51);
  TextDrawFont(greenzone1, 2);
  TextDrawSetProportional(greenzone1, 1);

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.