Jump to content

simple code wont work in my game? plz take a look


Recommended Posts

While 1

Send('{!}')

Sleep(500)

WEnd

this code above works fine when i open Notepad, but in my gamehowever in the chat box it will not type it i even tried

While 1

WinWaitActive("game title")

Send('{!}')

Sleep(500)

WEnd

and this above still wont work

Link to comment
Share on other sites

A lot of games will not allow you to send keys in the way AutoIt does. There have been many threads on this, and I don't remember anybody ever finding an AutoIt based solution. Maybe trying to imitate the keyboard drivers or something, I have no idea.

Link to comment
Share on other sites

also have a look at the keydown delay. Some games can't handle the default value. I had to do for an old game.

Hmmm...... Found the old script in my "not needed" dir.

Opt("SendKeyDownDelay", 55)

I had to bump it all the way up to 55 before GTA would see keystrokes.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...