EMOTES KEYBOARD
I thought that it would be easier to be able to type the name of the emote to select it instead of choosing it via menu. By that I do not mean typing it as a command in chat (similar to /emote) but having a dedicated keyboard instead.
So here is a really simple script that allows user to bring up an onscreen keyboard by pressing “Z”. User then types the emote name or ID and presses enter. Also, emotes can be canceled on “X” and by pressing “C” the last emote will play.
Video of script in action:
Rar download:LINK Source:LINK List of all the emote names:LINK
You can mess with the source code and tune it so that it suits your server - you may need to change buttons (Z, X, C) or change/add some emote names/IDs.
P.S. This is my first time trying to script something for GTA so if there are any obvious mistakes, point them out in the comments as I may be doing something terribly wrong
UPDATE LOG:
v1.02 [22.08.17] - Simple update that should optimize the script.
v1.03 [22.08.17] - Fixed bug causing keyboard not to bring up after pressing Z
There is a link in the post that lists all the emotes included, the first column is the name used in script (the one you type in game) and the second one is the official string name of the emote.