Jump to content
  • 0

Cum rezolv problema


Mariusik[]

Question

4 answers to this question

Recommended Posts

  • 0

Trebuie sa folosesti textdrawtextsize pentru fiecare td in parte si sa gasesti marimile potrivite pentru a nu se suprapune ca in cazul de fata. Asta inseamna ca va trebuie sa compilezi testezi si iar sa modifici pentru ca nu cred ca vei nimeri marimea de prima data

 

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

  • 0
Acum 56 minute, Mister a spus:

Trebuie sa folosesti textdrawtextsize pentru fiecare td in parte si sa gasesti marimile potrivite pentru a nu se suprapune ca in cazul de fata. Asta inseamna ca va trebuie sa compilezi testezi si iar sa modifici pentru ca nu cred ca vei nimeri marimea de prima data

si cand apas esc cum fac execute ce este pe textdraw-ul "x"? Am cautat sa vad daca exista key_Esc si nu exista..

Link to comment
Share on other sites

  • 0
Acum 10 minute, Anonim69 a spus:

si cand apas esc cum fac execute ce este pe textdraw-ul "x"? Am cautat sa vad daca exista key_Esc si nu exista..

public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
	if(Text:INVALID_TEXT_DRAW == clickedid)//textdraw invalid (a apasat ESC)
	{
         //Ascund textdraw dupa ce a apasat ESC (sau ce vrei)
        }
}

Cand este apasat ESC este chemat INVALID_TEXT_DRAW  i asa poti face astfel incat sa il ascunzi daca este nevoie , desigur va trebui sa faci o variabila sau ceva sa stii daca textdraw e activ etc

Link to comment
Share on other sites

  • 0
On 9/15/2017 at 8:13 PM, Anonim69 said:

https://imgur.com/a/mJWio in imagine se poate observa ca se selecteaza mai multe textdraw-uri

Pentru a nu se selecta mai multe td-uri, foloseste usebox, si fa boxul atat cat textul, apoi pune coordonatele la textdrawtextsize.

**********************************

Servicii Scripting de calitate:

*********************************

Future Project: ExpertGame

*********************************

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
Answer this question...

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