mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-19 22:23:28 +02:00
Version 0.991 BETA
This commit is contained in:
@@ -10,6 +10,7 @@ walkLock = 0
|
||||
lastWalk = 0
|
||||
lastTurn = 0
|
||||
lastTurnDirection = 0
|
||||
lastStop = 0
|
||||
turnKeys = {}
|
||||
|
||||
function init()
|
||||
@@ -263,10 +264,14 @@ function walk(dir)
|
||||
end
|
||||
|
||||
if player:isAutoWalking() or player:isServerWalking() then
|
||||
if player:isAutoWalking() then
|
||||
player:stopAutoWalk()
|
||||
if lastStop + 100 < g_clock.millis() then
|
||||
lastStop = g_clock.millis()
|
||||
if player:isAutoWalking() then
|
||||
player:stopAutoWalk()
|
||||
end
|
||||
g_game.stop()
|
||||
end
|
||||
g_game.stop()
|
||||
return
|
||||
end
|
||||
|
||||
if player:isWalkLocked() then
|
||||
|
Reference in New Issue
Block a user