Jump to content

Textdraw pentru serverul tau, Logo.


OPREA

Recommended Posts

  • Salut sa-mp.ro, astazi am facut un Textdraw / Logo pentru serverului vostru. Acesta nu face absolut deloc lag pe server, nu este impodobit cu multe chestii, este unul simplu si placut la ochi. Sper sa va placa, aveti o poza cu el mai jos:
  • N7tqLn4.png
  • Cred ca nu mai are rost sa va fac si un tutorial de instalare pentru ca este banal, este foarte simplu sa instalati acest textdraw in gamemode. Gasiti multe tutoriale pe internet.

 

Textdraw:

-----------------------

logo = TextDrawCreate(550.500000, 426.125000, "WT");
TextDrawLetterSize(Textdraw0, 0.394999, 1.337500);
TextDrawAlignment(Textdraw0, 1);
TextDrawColor(Textdraw0, -16776961);
TextDrawSetShadow(Textdraw0, 0);
TextDrawSetOutline(Textdraw0, 1);
TextDrawBackgroundColor(Textdraw0, 51);
TextDrawFont(Textdraw0, 2);
TextDrawSetProportional(Textdraw0, 1);

logo1 = TextDrawCreate(577.500000, 426.562500, "ZONE");
TextDrawLetterSize(Textdraw1, 0.380000, 1.250000);
TextDrawAlignment(Textdraw1, 1);
TextDrawColor(Textdraw1, -1);
TextDrawSetShadow(Textdraw1, 0);
TextDrawSetOutline(Textdraw1, 1);
TextDrawBackgroundColor(Textdraw1, 51);
TextDrawFont(Textdraw1, 2);
TextDrawSetProportional(Textdraw1, 1);

logo2 = TextDrawCreate(566.000000, 437.062500, "Version: 1.1.0");
TextDrawLetterSize(Textdraw2, 0.126999, 0.939375);
TextDrawAlignment(Textdraw2, 1);
TextDrawColor(Textdraw2, -1);
TextDrawSetShadow(Textdraw2, 0);
TextDrawSetOutline(Textdraw2, 1);
TextDrawBackgroundColor(Textdraw2, 51);
TextDrawFont(Textdraw2, 2);
TextDrawSetProportional(Textdraw2, 1);

 

Ca sa nu va dea erori la compilare, va duceti la variabile globale si adaugati: new Text:logo, Text:logo1, Text:logo2;

Sper sa va placa acest TextDraw, am stat 5 minute sa-l fac. 

In loc de "WT", "Zone", "Version: 1.1.0", puteti schimba cu ce text vreti voi intre ghilimele (").

O zi frumoasa sa-mp.ro!
 

 

  • Upvote 1
Link to comment
Share on other sites

Puteai crea un singur textdraw  WT ZONE si sa il colorezi prin comenzi nu un textdraw pentru fiecare culaore.

~r~WT ~w~ZONE

Si pe langa asta, cred ca toti care au gm au si un logo, plus ca acum exista o gramada de editore cum ar fi ipleomax, deci nu pot sa iti dau o nota nici pentru munca, mai mult de 1 minut nu ai ce sa faci in ipleomax ca sa il faci

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

4 hours ago, Mister said:

Puteai crea un singur textdraw  WT ZONE si sa il colorezi prin comenzi nu un textdraw pentru fiecare culaore.

~r~WT ~w~ZONE

Si pe langa asta, cred ca toti care au gm au si un logo, plus ca acum exista o gramada de editore cum ar fi ipleomax, deci nu pot sa iti dau o nota nici pentru munca, mai mult de 1 minut nu ai ce sa faci in ipleomax ca sa il faci

Folosind 2 textdrawuri ai 256^3 de culori disponibile pentru fiecare cuvant, pe cand daca ai face un singur textdraw ai avea doar vreo 5 posibilitati.

Link to comment
Share on other sites

58 minutes ago, Spman said:

Folosind 2 textdrawuri ai 256^3 de culori disponibile pentru fiecare cuvant, pe cand daca ai face un singur textdraw ai avea doar vreo 5 posibilitati.

Stiu si eu asta, sunt 5 culori culori clasice si frumoase el deja a pus acel rosu care este fix ca cel din alea 5, ce iti trebuie mai multe faci un textdraw simplu frumos si respectabil nu un curcubeu

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

  • 11 months later...
  • 1 year later...
  • 2 months later...
  • 1 year later...

Nici macar nu ai facut cum trebuie.... varianta corecta pentru a nu intampina probleme la compilare este aceasta

new Text:logo;
new Text:logo1;
new Text:logo2;

 

Variabile

 

iar dupa merge la linia

public OnGameModeInit()
{ 
    logo = TextDrawCreate(550.500000, 426.125000, "WG");
    TextDrawLetterSize(logo, 0.394999, 1.337500);
    TextDrawAlignment(logo, 1);
    TextDrawColor(logo, -16776961);
    TextDrawSetShadow(logo, 0);
    TextDrawSetOutline(logo, 1);
    TextDrawBackgroundColor(logo, 51);
    TextDrawFont(logo, 2);
    TextDrawSetProportional(logo, 1);
	logo1 = TextDrawCreate(577.500000, 426.562500, "RPG");
    TextDrawLetterSize(logo1, 0.380000, 1.250000);
    TextDrawAlignment(logo1, 1);
    TextDrawColor(logo1, -1);
    TextDrawSetShadow(logo1, 0);
    TextDrawSetOutline(logo1, 1);
    TextDrawBackgroundColor(logo1, 51);
    TextDrawFont(logo1, 2);
    TextDrawSetProportional(logo1, 1);
	logo2 = TextDrawCreate(566.000000, 437.062500, "RPGv1.0");
    TextDrawLetterSize(logo2, 0.126999, 0.939375);
    TextDrawAlignment(logo2, 1);
    TextDrawColor(logo2, -1);
    TextDrawSetShadow(logo2, 0);
    TextDrawSetOutline(logo2, 1);
    TextDrawBackgroundColor(logo2, 51);
    TextDrawFont(logo2, 2);
    TextDrawSetProportional(logo2, 1);
      return 1;
}
Edited by kerasseN
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.