Jump to content

Recommended Posts

Posted

Am bug la un textdraw, de exemplu am pus 2 butoane sa fie selectabile, "Close" si "Select".

Eu daca ma duc cu cursorul pe "Select" imi apasa si "Close", ce pot sa fac?

Posted

https://sampwiki.blast.hk/wiki/OnPlayerClickTextDraw

 

"

Important
Notes

  • The clickable area is defined by TextDrawTextSize. The x and y parameters passed to that function must not be zero or negative.
  • Do not use CancelSelectTextDraw unconditionally within this callback. This results in an infinite loop."
  •  

 

    gTextDraw = TextDrawCreate(10.000000, 141.000000, "MyTextDraw");       
    TextDrawTextSize(gTextDraw,60.000000, 20.000000);  <<<<<<<<<<<<

 

 

  • 2 months later...
  • 4 weeks later...

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