Posts: 103
Threads: 27
Joined: Jun 2015
There are keys for GameText example: ~k~~PED_DUCK~
but how can i use keys in ClientMessage?
Posts: 734
Threads: 8
Joined: Jun 2009
Don't mind SecretBoss, he's lost somewhere.
For such keys, according to
this list just use them as-is (depending whether the player is on-foot or in vehicle), just put "~k~KEY_WHATEVER~" in your message (ofc replacing KEY_WHATEVER with the actual key reference on that list), and it should work!
Posts: 184
Threads: 11
Joined: Feb 2010
Reputation:
0
I don't think you can get the keys into you Client Message unless you write something you like: 'Your fire key (default LMB).
Posts: 734
Threads: 8
Joined: Jun 2009
@shadowdog, of course you can if they are configured under "Redefine controls" menu.
Posts: 184
Threads: 11
Joined: Feb 2010
Reputation:
0
That is for gametexts. You can try it in Client Messages but I'm not sure if that would work.
Posts: 734
Threads: 8
Joined: Jun 2009
Quote:
Originally Posted by shadowdog
That is for gametexts. You can try it in Client Messages but I'm not sure if that would work.
|
Don't post things you didn't try, it isn't only for gametexts. I am telling you that YOU CAN use it in client messages too.