<waypoints type="TRAVEL">
<onLoad>
	player:update()
	local objectList = CObjectList();
	objectList:update();
	local objSize = objectList:size();
	local obj
	for i = 0,objSize do
		obj = objectList:getObject(i);
		Distance = distance(player.X,player.Z,obj.X,obj.Z)
		if 50 > Distance and obj.Address ~= player.Address then
			cprintf(cli.lightgreen,"Dist: %d,\tName: %s,\tX: %.2f,\tZ: %.2f\n", Distance, obj.Name, obj.X, obj.Z)
		end
	end
	error("End of file.")
</onLoad>
</waypoints>