Hey everyone,
I'm working on an AutoHotkey script for SAMP (San Andreas Multiplayer), and I'm in need of some assistance. Here's what I'm trying to accomplish:
When I press the {5} key, I want the script to open the chat and wait until I press {Enter}.
Then, I'll type any number, let's say '11', '15', or 36, and press {Enter} again.
At this point, I want the script to copy the number I typed into the chat, paste it into a variable named 'playerID', and immediately execute the command '/search playerID' in the game.
Could someone please help me figure out how to implement this in AutoHotkey?
Any suggestions or guidance would be greatly appreciated.
Thanks in advance!