Your instructions should work, as should my original script. The problem, as I had previously assumed was SAMP Addon, though I have no idea why. The only part of SAMP Addon that I wanted was the Anti-Pause and thanks to you, I've found the perfect solution.
Somehow while having the game paused, ControlSend can input any key into SA:MP, just very very very slowly.
As such, I decided to get SAMP Addon installed so that the game never pauses.
The problem that arose was that while I could ControlSend any normal keys into SA:MP with the game...
I know that the way I'm approaching this is not really ideal, and I should probably be doing something akin to this script that's been shared here before (without sampfuncs) since what I want to do is to input commands based on chat messages, all while the game runs in the background:
{$CLEO}...
I'd just use AHK, but for whatever reason, I can't ControlSend keys such as {ENTER} or {F6} to unfocused SAMP. As such, I thought I could do the command input via a CLEO script (despite having no experience in CLEO) that is activated through an AHK keybind.
As an example, I'll use an excerpt from dphome's keybind script from [link=[URL]https://ugbase.eu/threads/req-samp-base-cleo-4-4-keybinder.16961/post-108768]here[/link[/URL]]. How would I make the keybinds (in this case NUMPAD6 and NUMPAD8) to work using AHK's ControlSend?
{$CLEO .cs}
{$USE...
Hello, is it possible to read the latest line in the chat and then issue a command based on its content? I found a few threads relating to dphome's SEND_CMD script and using sampfuncs with 0c29 to accomplish this, but I do not wish to use sampfuncds.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.