Hey, the disable rendering function is working, but the bot ignores some statements when its be used. How can i fix that?
For example: It ignores this statement and get stucked on the npc before...
Code:
Func ToggleRendering() $Rendering_GW = NOT $Rendering_GW If $Rendering_GW Then EnableRendering() WinSetState($hGW, "", [MENTION=330060]Sw_[/MENTION]SHOW) TrayItemSetState($TrayRendering, $TRAY_UNCHECKED) Else DisableRendering() WinSetState($hGW, "", [MENTION=330060]Sw_[/MENTION]HIDE) TrayItemSetState($TrayRendering, $TRAY_CHECKED) EndIf EndFunc
Code:
If - 1400 < $lLat And $lLat < - 550 And - 2000 < $lLon And $lLon < - 1100 Then MoveTo(1474, -1197, 0) EndIf