SA:MP Keys and TextDraws
#1

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
Reply
#2

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

See the last Important Note.

~k~~VEHICLE_ENTER_EXIT~
Reply
#3

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)