Lineage 2 Tower Forum

Full Version: CancelTarget(true)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello im trying to make script for hunting zones this is the script
    LUA Programming
repeat
if (GetMe():GetTarget() ~= nil) and (GetTarget():IsAlikeDeath() == true) then	
	CancelTarget(true);
	Sleep(1000);	
end;
Sleep(1000);
until false;


But when I use it target just start flashing like cancel,target,cancel,target... So on. Don't find where I made mistake.
(GetTarget() ~= nil)
like always thx amiroooo
Reference URL's