Jump to content
  • 0

Text


Guest vtr

Question

2 answers to this question

Recommended Posts

Guest iKer[MOB]

pui asta deasupra public OnGameModeInit():  (sau la inceputul scriptului, nu conteaza!)

new Text:Mesaj;

pui asta sub public OnGameModeInit():

Mesaj = TextDrawCreate(1.000000, 433.000000, " mesaju tau ");

TextDrawAlignment(Mesaj ,0);

TextDrawBackgroundColor(Mesaj , 0x000000ff);

TextDrawFont(Mesaj , 2);

TextDrawLetterSize(Mesaj , 0.499999, 1.100000);

TextDrawColor(Mesaj , 0xffffffff);

TextDrawSetOutline(Mesaj , 1);

TextDrawSetProportional(Mesaj , 1);

TextDrawSetShadow(Mesaj , 1);

// Poti customatiza TextDraw-ul, eu doar am luat un exemplu facut de altcineva!

si cand vrei sa-l arate ori pui la public OnPlayerConnect(playerid) ori la public OnPlayerSpawn(playerid):

TextDrawShowForAll(Text:Mesaj);
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Similar Content

    • By salexm93
      Salutare 
      Poate nu inteleg eu bine , pe wiki scrie max 2048 globale si 256 per player .
      Sa luam cazul ipotetic al unui server cu 1000 de playeri online .
      new Text:xpbar[MAX_PLAYERS]; new Text:playername[MAX_PLAYERS]; Aici vor fi 2000 create ? Adica destul de aproape de limita
       
      new PlayerText:xpbar[MAX_PLAYERS]; new PlayerText:playername[MAX_PLAYERS]; Iar Aici vor fi doar 2 ?
      Totodata , PlayerTextDrawDestroy ,la onplayerdisconnect ?
    • By GabyRo.off
      cum pot rezolva eroarea asta in sublime text 
      [WinError 2] The system cannot find the file specified
      [cmd: ['pawncc.exe', '-i includes', 'D:\\Users\\Gaby\\Downloads\\gamemode GTA-SAMP\\gamemodes\\GM.pwn', '-;+']]
      [dir: D:\Users\Gaby\Downloads\gamemode GTA-SAMP\gamemodes]
      [path: C:/pawno]
      [Finished]
       
      [ma puteti gasi pe discord:GabyRoノ#4068]
    • By VAurel
      Salut, am si eu nevoie de ceva, eu am un bug la vipname de pe masini si deoarece oricum nu imi place chestia asta cu mutatul text-ului vip, manual pe vehicule, vreau sa il fac sa se puna automat pe vehicule, faza este alta, nu stiu de unde sa fac rost de coordonatele unde atasez obiectul pe masina respectiva...
      Daca cunoasteti voi o metoda sau un program pentru a face asta, v-as ruga sa imi spuneti..
    • By sika
      La schimbare textului pe vehicul sau culori textului apare o poza cu cereale... da ati auzit bine cereale... as dori sa o elimin...
      Poza : https://imgur.com/a/kcBj0oR
       
      daca aveti idei va rog frumos... aceasta poza apare apare o minisecunda dar as dori sa o fac sa dispara.
    • By R4zvyy
      C:\Users\Razvan\Desktop\GTA\Gamemode\Gamemode (G-SERVER)\gamemodes\bg.pwn(1696) : warning 225: unreachable code
      Pawn compiler 3.2.3664              Copyright (c) 1997-2017, ITB CompuPhase

      1 Warning.
      [Finished in 5.5s with exit code 2]
      [cmd: ['pawncc.exe', '-i includes', 'C:\\Users\\Razvan\\Desktop\\GTA\\Gamemode\\Gamemode (G-SERVER)\\gamemodes\\bg.pwn', '-;+']]
      [dir: C:\Users\Razvan\Desktop\GTA\Gamemode\Gamemode (G-SERVER)\gamemodes]
      [path: C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static]
       
      Linia: 
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • 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.