Escaping textdraws
#1

well i've made a system with textdraws, now when i hit the command that hides all textdraws i have to press ESC again to leave the mouse cursor mode. can i do that scriptwise so it does it automatically? im sure theres a function and i just dont know it
Reply
#2

Sure !

You enabled it with
PHP код:
SelectTextDrawplayerid ); 
To cancel that mode just use
PHP код:
CancelSelectTextDrawplayerid ); 
So you already probably knew about SelectTextDraw. If you want to know more about certain functions/callbacks/features you can check the wiki: https://sampwiki.blast.hk/wiki/SelectTextDraw . The "CancelSelectTextDraw" function is suggested under "Related Functions".
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)