#RequireAdmin _antiafk() Func _antiafk() While 1 Sleep(5000) Send("{ESCAPE}") Sleep(540000) Send("{ESCAPE}") Send("W") Sleep(2000) WEnd EndFunc
Quote: Originally Posted by xMenex I am trying to make a anti-afk-bot for GTA SA-MP. Every key works but not escape (Ingame) Code: #RequireAdmin _antiafk() Func _antiafk() While 1 Sleep(5000) Send("{ESCAPE}") Sleep(540000) Send("{ESCAPE}") Send("W") Sleep(2000) WEnd EndFunc Can you help me?
Send("{Esc}")
Quote: Originally Posted by x[Deadline Code: Send("{Esc}") Ehm..sleep (540000).. 540 seconds?
Quote: Originally Posted by xMenex Yeah, on this samp server you are marked for afk after 10 minutes