SA:MP Keys and TextDraws - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SA:MP Keys and TextDraws (
/showthread.php?tid=655855)
SA:MP Keys and TextDraws -
Adamoneoone - 01.07.2018
Hello, a simple question, I would like to know if we could use Key codes (like KEY_SUBMISSION or KEY_YES ect...) into formats to show them into textdraws? like format(blabla "Press %s", KEY_YES) ?
If not, how could I manage to do that?
Thank you
Re: SA:MP Keys and TextDraws -
sanqian - 01.07.2018
https://sampwiki.blast.hk/wiki/TextDrawCreate
See the last Important Note.
~k~~VEHICLE_ENTER_EXIT~
Re: SA:MP Keys and TextDraws -
Gr00t - 02.07.2018
https://sampwiki.blast.hk/wiki/Keys
Embedding Code (On Foot) and Embedding Code (In Vehicle)
Example:
Код:
TextDrawCreate(240.0, 580.0, "Press ~k~~CONVERSATION_YES~ "); //Press Y