Jump to content
Sign in to follow this  
WhiteLion

Help please ControlSend causes freezes!

Recommended Posts

WhiteLion

hi guys,

I am from germany and my english is poor (sry 4 that) but I hope you will understand and can give me help with my problem.

I use the following line to send a string + enter to a console every 30 seconds:

ControlSend("Console", "", "[CLASSNN:Edit1]", $randomstatus &"{Enter}")

That works but it causes bad lags in the game für 1-2 seconds. Its not acceptable specially while in multiplayer.

I tried a UDF called "ssend" and another string:

_GUICtrlEdit_AppendText(ControlGetHandle("Console", "", "[CLASSNN:Edit1]"), $randomstatus & @CRLF)

but I dont know if these alternaives will help cause both of where not able to send the "pressed enter key" to the

editfield... the string is in the field but not sended cause of the missing enter/return pressed key!

can someone help !? thanx for your time!

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.